|
4 | 4 | branches: [ develop ]
|
5 | 5 |
|
6 | 6 | jobs:
|
7 |
| - check-ubuntu-20_04-make-gcc: |
8 |
| - runs-on: ubuntu-20.04 |
9 |
| - steps: |
10 |
| - - uses: actions/checkout@v2 |
11 |
| - with: |
12 |
| - submodules: true |
13 |
| - - name: Fetch dependencies |
14 |
| - env: |
15 |
| - # This is needed in addition to -yq to prevent apt-get from asking for |
16 |
| - # user input |
17 |
| - DEBIAN_FRONTEND: noninteractive |
18 |
| - TESTPL_JOBS: 4 |
19 |
| - run: | |
20 |
| - sudo apt-get install -yq gcc gdb g++ maven jq flex bison libxml2-utils cpanminus |
21 |
| - make -C src minisat2-download |
22 |
| - cpanm Thread::Pool::Simple |
23 |
| - - name: Build with make |
24 |
| - run: | |
25 |
| - make -C src CXX='/usr/bin/g++' -j2 |
26 |
| - make -C unit CXX='/usr/bin/g++' -j2 |
27 |
| - make -C jbmc/src CXX='/usr/bin/g++' -j2 |
28 |
| - make -C jbmc/unit CXX='/usr/bin/g++' -j2 |
29 |
| - - name: Run unit tests |
30 |
| - run: | |
31 |
| - make -C unit test |
32 |
| - make -C jbmc/unit test |
33 |
| - echo "Running expected failure tests" |
34 |
| - make TAGS="[!shouldfail]" -C unit test |
35 |
| - make TAGS="[!shouldfail]" -C jbmc/unit test |
36 |
| - - name: Run regression tests |
37 |
| - run: | |
38 |
| - make -C regression test |
39 |
| - make -C regression/cbmc test-paths-lifo |
40 |
| - env PATH=$PATH:`pwd`/src/solvers make -C regression/cbmc test-cprover-smt2 |
41 |
| - make -C jbmc/regression test |
42 |
| -
|
43 | 7 | check-ubuntu-20_04-cmake-gcc:
|
44 | 8 | runs-on: ubuntu-20.04
|
45 | 9 | steps:
|
|
71 | 35 | env:
|
72 | 36 | TESTPL_JOBS: 2
|
73 | 37 |
|
74 |
| - check-macos-10_15-make-clang: |
75 |
| - runs-on: macos-10.15 |
76 |
| - steps: |
77 |
| - - uses: actions/checkout@v2 |
78 |
| - with: |
79 |
| - submodules: true |
80 |
| - - name: Fetch dependencies |
81 |
| - run: brew install maven flex bison |
82 |
| - - name: Build using Make |
83 |
| - run: | |
84 |
| - make -C src minisat2-download |
85 |
| - make -C src |
86 |
| - make -C jbmc/src |
87 |
| - make -C unit |
88 |
| - make -C jbmc/unit |
89 |
| - - name: Run unit tests |
90 |
| - run: cd unit; ./unit_tests |
91 |
| - - name: Run JBMC unit tests |
92 |
| - run: cd jbmc/unit; ./unit_tests |
93 |
| - - name: Run regression tests |
94 |
| - run: cd regression; make |
95 |
| - - name: Run JBMC regression tests |
96 |
| - run: cd jbmc/regression; make |
97 |
| - |
98 | 38 | check-macos-10_15-cmake-clang:
|
99 | 39 | runs-on: macos-10.15
|
100 | 40 | steps:
|
|
0 commit comments