Skip to content

Commit

Permalink
fix CI for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
polgreen committed Jul 4, 2024
1 parent 1472cff commit 3132f5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,15 @@ jobs:
path: z3/
key: ${{ runner.os }}-z3-${{ hashFiles('get-z3-macos.sh') }}-1

- name: Create path for Z3
run: sudo mkdir -p /usr/local/lib

- name: Download Z3
if: steps.cache-z3.outputs.cache-hit != 'true'
run: ./get-z3-macos.sh

- name: Add Z3 to Path
run: |
sudo mkdir -p /usr/local/lib
echo "$GITHUB_WORKSPACE/z3/bin/" >> $GITHUB_PATH
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GITHUB_WORKSPACE/z3/bin/" >> $GITHUB_ENV
./setup-z3-macos.sh
Expand Down

0 comments on commit 3132f5c

Please sign in to comment.