Skip to content

Commit fd350d8

Browse files
committed
Use GNU wget to download CVC5 on Windows 2022 CI job
The usage of `Invoke-WebRequest` to do the download of CVC5 has been unreliable on the Windows 2022 job. This commit is putting an alternative in place to see if this works as reliably on Windows as it has for the jobs on other platforms.
1 parent d158216 commit fd350d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ jobs:
541541
nuget-version: '5.8.x'
542542
- name: Fetch dependencies
543543
run: |
544-
choco install winflexbison3 strawberryperl
544+
choco install -y winflexbison3 strawberryperl wget
545545
nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
546546
echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH
547547
echo "c:\ProgramData\chocolatey\bin" >> $env:GITHUB_PATH
@@ -550,7 +550,7 @@ jobs:
550550
Expand-Archive -LiteralPath '.\z3.Zip' -DestinationPath C:\tools
551551
echo "c:\tools\z3-4.8.10-x64-win\bin;" >> $env:GITHUB_PATH
552552
New-Item -ItemType directory "C:\tools\cvc5"
553-
Invoke-WebRequest -Uri https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Win64.exe -OutFile c:\tools\cvc5\cvc5.exe
553+
wget.exe -O c:\tools\cvc5\cvc5.exe https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Win64.exe
554554
echo "c:\tools\cvc5;" >> $env:GITHUB_PATH
555555
- name: Confirm z3 solver is available and log the version installed
556556
run: z3 --version

0 commit comments

Comments
 (0)