Skip to content

Commit 6301c3f

Browse files
Merge pull request #5449 from thomasspriggs/tas/gha_ubuntu20_make
Add github actions ubuntu-20.04 make build
2 parents 569014b + f58407f commit 6301c3f

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,42 @@ on:
44
branches: [ develop ]
55

66
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+
743
check-macos-10_15-make-clang:
844
runs-on: macos-10.15
945
steps:

0 commit comments

Comments
 (0)