Skip to content

Commit e58dad8

Browse files
Add Github Actions CI for Ubuntu 20.20
1 parent 1ff4d49 commit e58dad8

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,31 @@ jobs:
3939
make -C regression/cbmc test-paths-lifo
4040
env PATH=$PATH:`pwd`/src/solvers make -C regression/cbmc test-cprover-smt2
4141
make -C jbmc/regression test
42+
check-ubuntu-20_04-cmake-gcc:
43+
runs-on: ubuntu-20.04
44+
steps:
45+
- uses: actions/checkout@v2
46+
with:
47+
submodules: true
48+
- name: Fetch dependencies
49+
env:
50+
# This is needed in addition to -yq to prevent apt-get from asking for
51+
# user input
52+
DEBIAN_FRONTEND: noninteractive
53+
run: |
54+
sudo apt-get install -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils cpanminus
55+
cpanm Thread::Pool::Simple
56+
- name: Configure using CMake
57+
run: |
58+
mkdir build
59+
cd build
60+
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++
61+
- name: Build with Ninja
62+
run: cd build; ninja
63+
- name: Run tests
64+
run: cd build; ctest . -V -L CORE
65+
env:
66+
TESTPL_JOBS: 2
4267

4368
check-macos-10_15-make-clang:
4469
runs-on: macos-10.15

0 commit comments

Comments
 (0)