Skip to content

Commit a50ef65

Browse files
authored
Merge pull request #6732 from NlightNFotis/add_cvc_5_to_ci
Download and install cvc5 from the binaries of the github release
2 parents 3016fe5 + 3988924 commit a50ef65

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Build and Test CBMC
22
on:
33
pull_request:
44
branches: [ develop ]
5+
env:
6+
cvc5-version: "0.0.7"
57

68
jobs:
79
check-ubuntu-20_04-make-gcc:
@@ -20,6 +22,12 @@ jobs:
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:
@@ -82,6 +90,12 @@ jobs:
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

Comments
 (0)