Skip to content

Commit 50bfa4e

Browse files
authored
Merge pull request #8345 from tautschnig/parallel-windows
Use GNU parallel in Windows CI job
2 parents 14254e0 + 7b4da6c commit 50bfa4e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ jobs:
739739
Set-Location build
740740
ctest -V -L CORE -C Release . -j${{env.windows-vcpus}}
741741
742-
# This job takes approximately 65 to 84 minutes
742+
# This job takes approximately 18 to 84 minutes
743743
check-vs-2022-make-build-and-test:
744744
runs-on: windows-2022
745745
env:
@@ -767,6 +767,9 @@ jobs:
767767
New-Item -ItemType directory "C:\tools\cvc5"
768768
wget.exe -O c:\tools\cvc5\cvc5.exe https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Win64.exe
769769
echo "c:\tools\cvc5;" >> $env:GITHUB_PATH
770+
New-Item -ItemType directory "C:\tools\parallel"
771+
wget.exe -O c:\tools\parallel\parallel https://git.savannah.gnu.org/cgit/parallel.git/plain/src/parallel
772+
echo "c:\tools\parallel" >> $env:GITHUB_PATH
770773
- name: Confirm z3 solver is available and log the version installed
771774
run: z3 --version
772775
- name: Confirm cvc5 solver is available and log the version installed
@@ -806,7 +809,7 @@ jobs:
806809
make CXX=clcache BUILD_ENV=MSVC -C unit test TAGS="[z3]"
807810
make CXX=clcache BUILD_ENV=MSVC -C jbmc/unit test
808811
- name: Run CBMC regression tests
809-
run: make CXX=clcache BUILD_ENV=MSVC -C regression test
812+
run: make CXX=clcache BUILD_ENV=MSVC -C regression test-parallel JOBS=${{env.windows-vcpus}}
810813

811814
# This job takes approximately 7 to 32 minutes
812815
windows-msi-package:

0 commit comments

Comments
 (0)