File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -698,13 +698,21 @@ jobs:
698698 - name : Fetch dependencies
699699 run : |
700700 sudo apt-get update
701- sudo apt-get install --no-install-recommends -y g++ gdb flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache z3
701+ sudo apt-get install --no-install-recommends -y g++ gdb flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
702702 # remove libgcc-s1, which isn't normally available in Ubuntu 18.04
703703 target=$(dpkg-query -W --showformat='${Version}\n' gcc-8-base | head -n 1)
704704 # libgcc1 uses an epoch, thus the extra 1:
705705 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 gdb=8.1.1-0ubuntu1
706- - name : Confirm z3 solver is available and log the version installed
707- run : z3 --version
706+ - name : Download z3 4.11.0 from the python wheel package, extract it and make sure it can be deployed
707+ run : |
708+ # download the z3 python wheel package
709+ wget -O z3.4.11.0.whl https://github.com/Z3Prover/z3/releases/download/z3-4.11.0/z3_solver-4.11.0.0-py2.py3-none-manylinux1_x86_64.whl
710+ # unpack the bundle using python
711+ python -m zipfile -e z3.4.11.0.whl z3-4.11.0-content
712+ # make z3 executable and move it in /usr/local/bin
713+ chmod u+x ./z3-4.11.0-content/z3_solver-4.11.0.0.data/data/bin/z3
714+ mv ./z3-4.11.0-content/z3_solver-4.11.0.0.data/data/bin/z3 /usr/local/bin/
715+ z3 --version
708716 - name : Download cvc-5 from the releases page and make sure it can be deployed
709717 run : |
710718 wget -O cvc5 https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Linux
You can’t perform that action at this time.
0 commit comments