@@ -2,6 +2,8 @@ name: Build and Test CBMC
22on :
33 pull_request :
44 branches : [ develop ]
5+ env :
6+ cvc5-version : " 0.0.7"
57
68jobs :
79 check-ubuntu-20_04-make-gcc :
2022 sudo apt-get install --no-install-recommends -yq gcc gdb g++ maven jq flex bison libxml2-utils ccache cmake z3
2123 - name : Confirm z3 solver is available and log the version installed
2224 run : z3 --version
25+ - name : Download cvc-5 from the releases page and make sure it can be deployed
26+ run : |
27+ wget -O cvc5 https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Linux
28+ chmod u+x cvc5
29+ mv cvc5 /usr/local/bin
30+ cvc5 --version
2331 - name : Prepare ccache
2432 uses : actions/cache@v2
2533 with :
8290 cpanm Thread::Pool::Simple
8391 - name : Confirm z3 solver is available and log the version installed
8492 run : z3 --version
93+ - name : Download cvc-5 from the releases page and make sure it can be deployed
94+ run : |
95+ wget -O cvc5 https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Linux
96+ chmod u+x cvc5
97+ mv cvc5 /usr/local/bin
98+ cvc5 --version
8599 - name : Prepare ccache
86100 uses : actions/cache@v2
87101 with :
@@ -145,6 +159,12 @@ jobs:
145159 cpanm Thread::Pool::Simple
146160 - name : Confirm z3 solver is available and log the version installed
147161 run : z3 --version
162+ - name : Download cvc-5 from the releases page and make sure it can be deployed
163+ run : |
164+ wget -O cvc5 https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Linux
165+ chmod u+x cvc5
166+ mv cvc5 /usr/local/bin
167+ cvc5 --version
148168 - name : Prepare ccache
149169 uses : actions/cache@v2
150170 with :
@@ -180,6 +200,12 @@ jobs:
180200 sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc gdb g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen z3
181201 - name : Confirm z3 solver is available and log the version installed
182202 run : z3 --version
203+ - name : Download cvc-5 from the releases page and make sure it can be deployed
204+ run : |
205+ wget -O cvc5 https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Linux
206+ chmod u+x cvc5
207+ mv cvc5 /usr/local/bin
208+ cvc5 --version
183209 - name : Prepare ccache
184210 uses : actions/cache@v2
185211 with :
@@ -309,6 +335,12 @@ jobs:
309335 run : brew install maven flex bison parallel ccache z3
310336 - name : Confirm z3 solver is available and log the version installed
311337 run : z3 --version
338+ - name : Download cvc5 binary and make sure it can be deployed
339+ run : |
340+ curl -L https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-macOS --output cvc5
341+ chmod u+x cvc5
342+ mv cvc5 /usr/local/bin
343+ cvc5 --version
312344 - name : Prepare ccache
313345 uses : actions/cache@v2
314346 with :
@@ -353,6 +385,12 @@ jobs:
353385 run : brew install cmake ninja maven flex bison ccache z3
354386 - name : Confirm z3 solver is available and log the version installed
355387 run : z3 --version
388+ - name : Download cvc5 binary and make sure it can be deployed
389+ run : |
390+ curl -L https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-macOS --output cvc5
391+ chmod u+x cvc5
392+ mv cvc5 /usr/local/bin
393+ cvc5 --version
356394 - name : Prepare ccache
357395 uses : actions/cache@v2
358396 with :
0 commit comments