Skip to content

Commit e80d731

Browse files
committed
Add z3 to packaging jobs
z3 is now required by these packaging jobs, because they run tests and some of the tests now require z3.
1 parent cee5acf commit e80d731

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release-packages.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313
with:
1414
submodules: recursive
1515
- name: Fetch dependencies
16-
run: sudo apt-get install --no-install-recommends -y g++ gdb flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
16+
run: sudo apt-get install --no-install-recommends -y g++ gdb flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache z3
17+
- name: Confirm z3 solver is available and log the version installed
18+
run: z3 --version
1719
- name: Prepare ccache
1820
uses: actions/cache@v2
1921
with:
@@ -70,11 +72,13 @@ jobs:
7072
submodules: recursive
7173
- name: Fetch dependencies
7274
run: |
73-
sudo apt-get install --no-install-recommends -y g++ gdb flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
75+
sudo apt-get install --no-install-recommends -y g++ gdb flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache z3
7476
# remove libgcc-s1, which isn't normally available in Ubuntu 18.04
7577
target=$(dpkg-query -W --showformat='${Version}\n' gcc-8-base | head -n 1)
7678
# libgcc1 uses an epoch, thus the extra 1:
7779
sudo apt-get install -y --allow-downgrades --reinstall gcc g++ libgcc-s1- libstdc++6=$target liblsan0=$target libtsan0=$target libcc1-0=$target libgcc1=1:$target
80+
- name: Confirm z3 solver is available and log the version installed
81+
run: z3 --version
7882
- name: Prepare ccache
7983
uses: actions/cache@v2
8084
with:

0 commit comments

Comments
 (0)