Skip to content

Commit cd88b8f

Browse files
committed
Pin version of z3 used for mac CI to 4.8.10
This prevents auto upgrade of z3, in order to keep it inline with the version used on Windows. Note that the version currently being installed on Mac is already 4.8.10.
1 parent 5168d70 commit cd88b8f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,11 @@ jobs:
177177
with:
178178
submodules: recursive
179179
- name: Fetch dependencies
180-
run: brew install maven flex bison parallel ccache z3
180+
run: |
181+
brew install maven flex bison parallel ccache
182+
# The commit hash below pins z3 to version 4.8.10
183+
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/e2c833d326c45d9aaf4e26af6dd8b2f31564dc04/Formula/z3.rb
184+
brew install --HEAD -s z3.rb
181185
- name: Confirm z3 solver is available and log the version installed
182186
run: z3 --version
183187
- name: Prepare ccache
@@ -219,7 +223,11 @@ jobs:
219223
with:
220224
submodules: recursive
221225
- name: Fetch dependencies
222-
run: brew install cmake ninja maven flex bison ccache z3
226+
run: |
227+
brew install cmake ninja maven flex bison ccache
228+
# The commit hash below pins z3 to version 4.8.10
229+
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/e2c833d326c45d9aaf4e26af6dd8b2f31564dc04/Formula/z3.rb
230+
brew install --HEAD -s z3.rb
223231
- name: Confirm z3 solver is available and log the version installed
224232
run: z3 --version
225233
- name: Prepare ccache

0 commit comments

Comments
 (0)