Skip to content

Commit

Permalink
Fix an error in CI
Browse files Browse the repository at this point in the history
Create directory before it's used.
  • Loading branch information
TheVeryDarkness committed Oct 27, 2023
1 parent 6349e6c commit 888d58e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/prebuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
f.write(f"""
ls "{FROM}/lib"
ls "{FROM}/include"
mkdir "{TO}"
headers=("{'" "'.join(HEADERS)}")
for header in $headers
do
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
run: |
ls "${{ env.VCPKG_ROOT }}/installed/x64-linux/lib"
ls "${{ env.VCPKG_ROOT }}/installed/x64-linux/include"
mkdir "${{ github.workspace }}/x64-linux"
headers=("z3.h" "z3++.h" "z3_algebraic.h" "z3_api.h" "z3_ast_containers.h" "z3_fixedpoint.h" "z3_fpa.h" "z3_macros.h" "z3_optimization.h" "z3_polynomial.h" "z3_rcf.h" "z3_spacer.h" "z3_v1.h" "z3_version.h")
for header in $headers
do
Expand All @@ -76,6 +77,7 @@ jobs:
run: |
ls "${{ env.VCPKG_ROOT }}/installed/x64-osx/lib"
ls "${{ env.VCPKG_ROOT }}/installed/x64-osx/include"
mkdir "${{ github.workspace }}/x64-osx"
headers=("z3.h" "z3++.h" "z3_algebraic.h" "z3_api.h" "z3_ast_containers.h" "z3_fixedpoint.h" "z3_fpa.h" "z3_macros.h" "z3_optimization.h" "z3_polynomial.h" "z3_rcf.h" "z3_spacer.h" "z3_v1.h" "z3_version.h")
for header in $headers
do
Expand All @@ -100,6 +102,7 @@ jobs:
run: |
ls "${{ env.VCPKG_ROOT }}/installed/x64-windows-static-md/lib"
ls "${{ env.VCPKG_ROOT }}/installed/x64-windows-static-md/include"
mkdir "${{ github.workspace }}/x64-windows-static-md"
headers=("z3.h" "z3++.h" "z3_algebraic.h" "z3_api.h" "z3_ast_containers.h" "z3_fixedpoint.h" "z3_fpa.h" "z3_macros.h" "z3_optimization.h" "z3_polynomial.h" "z3_rcf.h" "z3_spacer.h" "z3_v1.h" "z3_version.h")
for header in $headers
do
Expand Down

0 comments on commit 888d58e

Please sign in to comment.