Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix CI for mac #257

Merged
merged 2 commits into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
run: sbt universal:packageBin

test-macos:
runs-on: macos-latest
runs-on: macos-13

steps:
- uses: actions/checkout@v2
Expand All @@ -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
Loading