@@ -457,3 +457,56 @@ jobs:
457
457
run : make CXX=clcache BUILD_ENV=MSVC -j4 -C unit
458
458
- name : Print ccache stats
459
459
run : clcache -s
460
+
461
+ # This job takes approximately 2 minutes
462
+ check-ubuntu-24_04-make-gcc-KNOWNBUG :
463
+ runs-on : ubuntu-24.04
464
+ steps :
465
+ - uses : actions/checkout@v4
466
+ with :
467
+ submodules : recursive
468
+ - name : Fetch dependencies
469
+ env :
470
+ # This is needed in addition to -yq to prevent apt-get from asking for
471
+ # user input
472
+ DEBIAN_FRONTEND : noninteractive
473
+ run : |
474
+ sudo apt-get update
475
+ sudo apt-get install --no-install-recommends -yq gcc gdb g++ jq flex bison libxml2-utils ccache cmake z3
476
+ - name : Confirm z3 solver is available and log the version installed
477
+ run : z3 --version
478
+ - name : Prepare ccache
479
+ uses : actions/cache@v4
480
+ with :
481
+ path : .ccache
482
+ save-always : true
483
+ key : ${{ runner.os }}-24.04-make-gcc-${{ github.ref }}-${{ github.sha }}-PR
484
+ restore-keys : |
485
+ ${{ runner.os }}-24.04-make-gcc-${{ github.ref }}
486
+ ${{ runner.os }}-24.04-make-gcc
487
+ - name : ccache environment
488
+ run : |
489
+ echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
490
+ echo "CCACHE_DIR=$PWD/.ccache" >> $GITHUB_ENV
491
+ - name : Zero ccache stats and limit in size
492
+ run : ccache -z --max-size=500M
493
+ - name : Get cadical and minisat
494
+ run : make -C lib/cbmc/src cadical-download minisat2-download
495
+ - name : Build with make
496
+ run : make -C src -j4 CXX="ccache g++" MINISAT2=../../minisat-2.2.1 CADICAL=../../cadical
497
+ - name : Run the ebmc tests with SAT
498
+ run : make -C regression/ebmc test TEST_PL="../../lib/cbmc/regression/test.pl -K"
499
+ - name : Run the ebmc tests with Z3
500
+ run : make -C regression/ebmc test-z3 TEST_PL="../../lib/cbmc/regression/test.pl -K"
501
+ - name : Run the verilog tests
502
+ run : make -C regression/verilog test TEST_PL="../../lib/cbmc/regression/test.pl -K"
503
+ - name : Run the verilog tests with Z3
504
+ run : make -C regression/verilog test-z3 TEST_PL="../../lib/cbmc/regression/test.pl -K"
505
+ - name : Run the smv tests
506
+ run : make -C regression/smv test TEST_PL="../../lib/cbmc/regression/test.pl -K"
507
+ - name : Run the smv tests with Z3
508
+ run : make -C regression/smv test-z3 TEST_PL="../../lib/cbmc/regression/test.pl -K"
509
+ - name : Run the vlindex tests
510
+ run : make -C regression/vlindex test TEST_PL="../../lib/cbmc/regression/test.pl -K"
511
+ - name : Print ccache stats
512
+ run : ccache -s
0 commit comments