@@ -2,6 +2,8 @@ name: Build and Test CBMC
2
2
on :
3
3
pull_request :
4
4
branches : [ develop ]
5
+ env :
6
+ cvc5-version : " 0.0.7"
5
7
6
8
jobs :
7
9
check-ubuntu-20_04-make-gcc :
20
22
sudo apt-get install --no-install-recommends -yq gcc gdb g++ maven jq flex bison libxml2-utils ccache cmake z3
21
23
- name : Confirm z3 solver is available and log the version installed
22
24
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
23
31
- name : Prepare ccache
24
32
uses : actions/cache@v2
25
33
with :
82
90
cpanm Thread::Pool::Simple
83
91
- name : Confirm z3 solver is available and log the version installed
84
92
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
85
99
- name : Prepare ccache
86
100
uses : actions/cache@v2
87
101
with :
@@ -145,6 +159,12 @@ jobs:
145
159
cpanm Thread::Pool::Simple
146
160
- name : Confirm z3 solver is available and log the version installed
147
161
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
148
168
- name : Prepare ccache
149
169
uses : actions/cache@v2
150
170
with :
@@ -180,6 +200,12 @@ jobs:
180
200
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc gdb g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen z3
181
201
- name : Confirm z3 solver is available and log the version installed
182
202
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
183
209
- name : Prepare ccache
184
210
uses : actions/cache@v2
185
211
with :
@@ -309,6 +335,12 @@ jobs:
309
335
run : brew install maven flex bison parallel ccache z3
310
336
- name : Confirm z3 solver is available and log the version installed
311
337
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
312
344
- name : Prepare ccache
313
345
uses : actions/cache@v2
314
346
with :
@@ -353,6 +385,12 @@ jobs:
353
385
run : brew install cmake ninja maven flex bison ccache z3
354
386
- name : Confirm z3 solver is available and log the version installed
355
387
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
356
394
- name : Prepare ccache
357
395
uses : actions/cache@v2
358
396
with :
0 commit comments