Skip to content

Commit e17e8c8

Browse files
committed
Log version of z3 installed in CI
For version confirmation. This supports easier debugging for both the github actions `.yaml` and for future test failures.
1 parent 5a8a37f commit e17e8c8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

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

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
run: |
1919
sudo apt-get update
2020
sudo apt-get install --no-install-recommends -yq gcc gdb g++ maven jq flex bison libxml2-utils ccache cmake z3
21+
z3 --version
2122
- name: Prepare ccache
2223
uses: actions/cache@v2
2324
with:
@@ -76,6 +77,7 @@ jobs:
7677
run: |
7778
sudo apt-get update
7879
sudo apt-get install --no-install-recommends -yq clang-10 clang++-10 gdb maven jq flex bison libxml2-utils cpanminus ccache z3
80+
z3 --version
7981
make -C src minisat2-download
8082
cpanm Thread::Pool::Simple
8183
- name: Prepare ccache
@@ -129,6 +131,7 @@ jobs:
129131
run: |
130132
sudo apt-get update
131133
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen z3
134+
z3 --version
132135
- name: Prepare ccache
133136
uses: actions/cache@v2
134137
with:
@@ -171,7 +174,9 @@ jobs:
171174
with:
172175
submodules: recursive
173176
- name: Fetch dependencies
174-
run: brew install maven flex bison parallel ccache z3
177+
run: |
178+
brew install maven flex bison parallel ccache z3
179+
z3 --version
175180
- name: Prepare ccache
176181
uses: actions/cache@v2
177182
with:
@@ -211,7 +216,9 @@ jobs:
211216
with:
212217
submodules: recursive
213218
- name: Fetch dependencies
214-
run: brew install cmake ninja maven flex bison ccache z3
219+
run: |
220+
brew install cmake ninja maven flex bison ccache z3
221+
z3 --version
215222
- name: Prepare ccache
216223
uses: actions/cache@v2
217224
with:
@@ -251,6 +258,7 @@ jobs:
251258
choco install winflexbison3 z3
252259
nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
253260
echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH
261+
z3 --version
254262
- name: Setup Visual Studio environment
255263
uses: microsoft/[email protected]
256264
- name: Prepare ccache
@@ -289,6 +297,7 @@ jobs:
289297
run: |
290298
choco install winflexbison3 strawberryperl z3
291299
nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
300+
z3 --version
292301
echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH
293302
echo "c:\ProgramData\chocolatey\bin" >> $env:GITHUB_PATH
294303
echo "c:\Strawberry\" >> $env:GITHUB_PATH
@@ -429,6 +438,7 @@ jobs:
429438
run: |
430439
sudo apt-get update
431440
sudo apt-get install --no-install-recommends -y g++ flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache z3
441+
z3 --version
432442
# remove libgcc-s1, which isn't normally available in Ubuntu 18.04
433443
target=$(dpkg-query -W --showformat='${Version}\n' gcc-8-base | head -n 1)
434444
# libgcc1 uses an epoch, thus the extra 1:
@@ -515,6 +525,7 @@ jobs:
515525
run: |
516526
sudo apt-get update
517527
sudo apt-get install --no-install-recommends -y g++ gcc binutils flex bison cmake maven jq libxml2-utils openjdk-11-jdk-headless lcov ccache z3
528+
z3 --version
518529
- name: Prepare ccache
519530
uses: actions/cache@v2
520531
with:

0 commit comments

Comments
 (0)