@@ -50,13 +50,13 @@ jobs:
50
50
run : |
51
51
git clone https://github.com/conp-solutions/riss riss.git
52
52
cmake -Hriss.git -Briss.git/release -DCMAKE_BUILD_TYPE=Release
53
- make -C riss.git/release riss-coprocessor-lib-static -j2
54
- make -C src -j2 CXX="ccache g++" LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
55
- make -C jbmc/src -j2 CXX="ccache g++" LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
53
+ make -C riss.git/release riss-coprocessor-lib-static -j4
54
+ make -C src -j4 CXX="ccache g++" LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
55
+ make -C jbmc/src -j4 CXX="ccache g++" LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
56
56
57
- make -C unit -j2 CXX="ccache g++" LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
57
+ make -C unit -j4 CXX="ccache g++" LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
58
58
59
- make -C jbmc/unit -j2 CXX="ccache g++" LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
59
+ make -C jbmc/unit -j4 CXX="ccache g++" LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
60
60
- name : Print ccache stats
61
61
run : ccache -s
62
62
- name : Checking completeness of help output
@@ -70,10 +70,10 @@ jobs:
70
70
make TAGS="[!shouldfail]" -C jbmc/unit test IPASIR=$PWD/riss.git/riss
71
71
- name : Run regression tests
72
72
run : |
73
- make -C regression test-parallel JOBS=2 LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
73
+ make -C regression test-parallel JOBS=4 LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
74
74
make -C regression/cbmc test-paths-lifo
75
75
env PATH=$PATH:`pwd`/src/solvers make -C regression/cbmc test-cprover-smt2
76
- make -C jbmc/regression test-parallel JOBS=2
76
+ make -C jbmc/regression test-parallel JOBS=4
77
77
- name : Check cleanup
78
78
run : |
79
79
make -C src clean IPASIR=$PWD/riss.git/riss
@@ -134,10 +134,10 @@ jobs:
134
134
run : ccache -z --max-size=500M
135
135
- name : Build with make
136
136
run : |
137
- make -C src -j2 MINISAT2=../../minisat-2.2.1 CADICAL=../../cadical
138
- make -C unit -j2
139
- make -C jbmc/src -j2
140
- make -C jbmc/unit -j2
137
+ make -C src -j4 MINISAT2=../../minisat-2.2.1 CADICAL=../../cadical
138
+ make -C unit -j4
139
+ make -C jbmc/src -j4
140
+ make -C jbmc/unit -j4
141
141
- name : Print ccache stats
142
142
run : ccache -s
143
143
- name : Run unit tests
@@ -151,10 +151,10 @@ jobs:
151
151
make TAGS="[!shouldfail]" -C jbmc/unit test
152
152
- name : Run regression tests
153
153
run : |
154
- make -C regression test-parallel JOBS=2
154
+ make -C regression test-parallel JOBS=4
155
155
make -C regression/cbmc test-paths-lifo
156
156
env PATH=$PATH:`pwd`/src/solvers make -C regression/cbmc test-cprover-smt2
157
- make -C jbmc/regression test-parallel JOBS=2
157
+ make -C jbmc/regression test-parallel JOBS=4
158
158
159
159
# This job has been copied from the one above it, and modified to only build CBMC
160
160
# and run the `regression/cbmc/` regression tests against Z3. The rest of the tests
@@ -198,7 +198,7 @@ jobs:
198
198
- name : Zero ccache stats and limit in size
199
199
run : ccache -z --max-size=500M
200
200
- name : Build with make
201
- run : make -C src -j2
201
+ run : make -C src -j4
202
202
- name : Print ccache stats
203
203
run : ccache -s
204
204
- name : Run regression/cbmc tests with z3 as the backend
@@ -247,7 +247,7 @@ jobs:
247
247
- name : Zero ccache stats and limit in size
248
248
run : ccache -z --max-size=500M
249
249
- name : Build with Ninja
250
- run : ninja -C build -j2
250
+ run : ninja -C build -j4
251
251
- name : Print ccache stats
252
252
run : ccache -s
253
253
- name : Checking completeness of help output
@@ -258,7 +258,7 @@ jobs:
258
258
ninja package
259
259
ls *.deb
260
260
- name : Run tests
261
- run : cd build; ctest . -V -L CORE -j2
261
+ run : cd build; ctest . -V -L CORE -j4
262
262
- name : Check cleanup
263
263
run : |
264
264
rm -r build
@@ -320,10 +320,10 @@ jobs:
320
320
make -C src/cpp library_check
321
321
- name : Build with make
322
322
run : |
323
- make -C src -j2 MINISAT2=../../minisat-2.2.1 CADICAL=../../cadical
324
- make -C unit -j2
325
- make -C jbmc/src -j2
326
- make -C jbmc/unit -j2
323
+ make -C src -j4 MINISAT2=../../minisat-2.2.1 CADICAL=../../cadical
324
+ make -C unit -j4
325
+ make -C jbmc/src -j4
326
+ make -C jbmc/unit -j4
327
327
- name : Print ccache stats
328
328
run : ccache -s
329
329
- name : Run unit tests
@@ -337,10 +337,10 @@ jobs:
337
337
make TAGS="[!shouldfail]" -C jbmc/unit test
338
338
- name : Run regression tests
339
339
run : |
340
- make -C regression test-parallel JOBS=2
340
+ make -C regression test-parallel JOBS=4
341
341
make -C regression/cbmc test-paths-lifo
342
342
env PATH=$PATH:`pwd`/src/solvers make -C regression/cbmc test-cprover-smt2
343
- make -C jbmc/regression test-parallel JOBS=2
343
+ make -C jbmc/regression test-parallel JOBS=4
344
344
345
345
# This job takes approximately 22 to 41 minutes
346
346
check-ubuntu-22_04-cmake-gcc :
@@ -385,7 +385,7 @@ jobs:
385
385
- name : Zero ccache stats and limit in size
386
386
run : ccache -z --max-size=500M
387
387
- name : Build with Ninja
388
- run : ninja -C build -j2
388
+ run : ninja -C build -j4
389
389
- name : Print ccache stats
390
390
run : ccache -s
391
391
- name : Check if package building works
@@ -394,7 +394,7 @@ jobs:
394
394
ninja package
395
395
ls *.deb
396
396
- name : Run tests
397
- run : cd build; ctest . -V -L CORE -j2
397
+ run : cd build; ctest . -V -L CORE -j4
398
398
399
399
# This job takes approximately 26 to 46 minutes
400
400
check-ubuntu-24_04-cmake-gcc-13 :
@@ -443,11 +443,11 @@ jobs:
443
443
- name : Zero ccache stats and limit in size
444
444
run : ccache -z --max-size=500M
445
445
- name : Build with Ninja
446
- run : ninja -C build -j2
446
+ run : ninja -C build -j4
447
447
- name : Print ccache stats
448
448
run : ccache -s
449
449
- name : Run tests
450
- run : cd build; ctest . -V -L CORE -j2
450
+ run : cd build; ctest . -V -L CORE -j4
451
451
452
452
# This job takes approximately 30 to 60 minutes
453
453
check-ubuntu-22_04-cmake-gcc-32bit :
@@ -490,11 +490,11 @@ jobs:
490
490
- name : Zero ccache stats and limit in size
491
491
run : ccache -z --max-size=500M
492
492
- name : Build with Ninja
493
- run : ninja -C build -j2
493
+ run : ninja -C build -j4
494
494
- name : Print ccache stats
495
495
run : ccache -s
496
496
- name : Run tests
497
- run : cd build; ctest . -V -L CORE -j2
497
+ run : cd build; ctest . -V -L CORE -j4
498
498
499
499
# This job takes approximately 5 to 24 minutes
500
500
check-ubuntu-20_04-cmake-gcc-KNOWNBUG :
@@ -529,13 +529,13 @@ jobs:
529
529
- name : Zero ccache stats and limit in size
530
530
run : ccache -z --max-size=500M
531
531
- name : Build with Ninja
532
- run : ninja -C build -j2
532
+ run : ninja -C build -j4
533
533
- name : Print ccache stats
534
534
run : ccache -s
535
535
- name : Run tests
536
536
run : |
537
537
cd build
538
- ctest . -V -L KNOWNBUG -j2
538
+ ctest . -V -L KNOWNBUG -j4
539
539
export PATH=$PWD/bin:$PATH
540
540
cd ../regression/cbmc
541
541
sed -i '1s/^CORE\(.*\)broken-smt-backend/KNOWNBUG\1broken-smt-backend/' */*.desc
@@ -576,11 +576,11 @@ jobs:
576
576
- name : Zero ccache stats and limit in size
577
577
run : ccache -z --max-size=500M
578
578
- name : Build with Ninja
579
- run : ninja -C build -j2
579
+ run : ninja -C build -j4
580
580
- name : Print ccache stats
581
581
run : ccache -s
582
582
- name : Run tests
583
- run : cd build; ctest . -V -L THOROUGH -j2
583
+ run : cd build; ctest . -V -L THOROUGH -j4
584
584
585
585
# This job takes approximately 39 to 69 minutes
586
586
check-macos-13-make-clang :
@@ -732,7 +732,7 @@ jobs:
732
732
- name : Test cbmc
733
733
run : |
734
734
Set-Location build
735
- ctest -V -L CORE -C Release . -j2
735
+ ctest -V -L CORE -C Release . -j4
736
736
737
737
# This job takes approximately 65 to 84 minutes
738
738
check-vs-2022-make-build-and-test :
@@ -784,15 +784,15 @@ jobs:
784
784
- name : Download minisat with make
785
785
run : make -C src minisat2-download
786
786
- name : Build CBMC with make
787
- run : make CXX=clcache BUILD_ENV=MSVC -j2 -C src
787
+ run : make CXX=clcache BUILD_ENV=MSVC -j4 -C src
788
788
- name : Build unit tests with make
789
- run : make CXX=clcache BUILD_ENV=MSVC -j2 -C unit all
789
+ run : make CXX=clcache BUILD_ENV=MSVC -j4 -C unit all
790
790
- name : Build jbmc with make
791
791
run : |
792
- make CXX=clcache -j2 -C jbmc/src setup-submodules
793
- make CXX=clcache BUILD_ENV=MSVC -j2 -C jbmc/src
792
+ make CXX=clcache -j4 -C jbmc/src setup-submodules
793
+ make CXX=clcache BUILD_ENV=MSVC -j4 -C jbmc/src
794
794
- name : Build JBMC unit tests
795
- run : make CXX=clcache BUILD_ENV=MSVC -j2 -C jbmc/unit all
795
+ run : make CXX=clcache BUILD_ENV=MSVC -j4 -C jbmc/unit all
796
796
- name : Print ccache stats
797
797
run : clcache -s
798
798
- name : Run CBMC and JBMC unit tests
@@ -906,7 +906,7 @@ jobs:
906
906
run : cmake -S . -Bbuild -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++
907
907
- name : Run include-what-you-use
908
908
run : |
909
- iwyu_tool -p build/compile_commands.json -j2 | tee includes.txt
909
+ iwyu_tool -p build/compile_commands.json -j4 | tee includes.txt
910
910
if sed '/minisat2-src/,/^--$/d' includes.txt | grep '^- ' -B1 ; then
911
911
echo "Unnecessary includes found. Use '// IWYU pragma: keep' to override this."
912
912
exit 1
@@ -960,13 +960,13 @@ jobs:
960
960
- name : Zero ccache stats and limit in size
961
961
run : ccache -z --max-size=7G
962
962
- name : Execute CMake CBMC build
963
- run : cmake --build build -- -j2
963
+ run : cmake --build build -- -j4
964
964
- name : Print ccache stats
965
965
run : ccache -s
966
966
- name : Run CTest and collect coverage statistics
967
967
run : |
968
968
echo "lcov_excl_line = UNREACHABLE" > ~/.lcovrc
969
- cmake --build build --target coverage -- -j2
969
+ cmake --build build --target coverage -- -j4
970
970
- name : Upload coverage statistics to Codecov
971
971
uses : codecov/codecov-action@v4
972
972
with :
0 commit comments