Skip to content

Commit 2bf999e

Browse files
Merge pull request #6778 from thomasspriggs/tas/cvc5_windows
Install cvc5 on Windows pull request jobs
2 parents ce7e74c + 6127938 commit 2bf999e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
branches: [ develop ]
55
env:
6-
cvc5-version: "0.0.7"
6+
cvc5-version: "0.0.9"
77

88
jobs:
99
check-ubuntu-20_04-make-gcc:
@@ -436,8 +436,13 @@ jobs:
436436
Invoke-WebRequest -Uri https://github.com/Z3Prover/z3/releases/download/z3-4.8.10/z3-4.8.10-x64-win.zip -OutFile .\z3.zip
437437
Expand-Archive -LiteralPath '.\z3.Zip' -DestinationPath C:\tools
438438
echo "c:\tools\z3-4.8.10-x64-win\bin;" >> $env:GITHUB_PATH
439+
New-Item -ItemType directory "C:\tools\cvc5"
440+
Invoke-WebRequest -Uri https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Win64.exe -OutFile c:\tools\cvc5\cvc5.exe
441+
echo "c:\tools\cvc5;" >> $env:GITHUB_PATH
439442
- name: Confirm z3 solver is available and log the version installed
440443
run: z3 --version
444+
- name: Confirm cvc5 solver is available and log the version installed
445+
run: cvc5 --version
441446
- name: Setup Visual Studio environment
442447
uses: microsoft/[email protected]
443448
- name: Prepare ccache
@@ -485,8 +490,13 @@ jobs:
485490
Invoke-WebRequest -Uri https://github.com/Z3Prover/z3/releases/download/z3-4.8.10/z3-4.8.10-x64-win.zip -OutFile .\z3.zip
486491
Expand-Archive -LiteralPath '.\z3.Zip' -DestinationPath C:\tools
487492
echo "c:\tools\z3-4.8.10-x64-win\bin;" >> $env:GITHUB_PATH
493+
New-Item -ItemType directory "C:\tools\cvc5"
494+
Invoke-WebRequest -Uri https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Win64.exe -OutFile c:\tools\cvc5\cvc5.exe
495+
echo "c:\tools\cvc5;" >> $env:GITHUB_PATH
488496
- name: Confirm z3 solver is available and log the version installed
489497
run: z3 --version
498+
- name: Confirm cvc5 solver is available and log the version installed
499+
run: cvc5 --version
490500
- name: Setup MSBuild
491501
uses: microsoft/[email protected]
492502
- name: Initialise Developer Command Line

0 commit comments

Comments
 (0)