Skip to content

Commit cf927aa

Browse files
Add Github Actions CI for Ubuntu 20.20
1 parent c2ad0e6 commit cf927aa

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
@@ -4,6 +4,31 @@ on:
44
branches: [ develop ]
55

66
jobs:
7+
check-ubuntu-20_20-cmake-gcc:
8+
runs-on: ubuntu-20.20
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+
run: apt-get install -yq cmake ninja-build gcc g++ maven flex bison
19+
- name: Configure using CMake
20+
run: |
21+
mkdir build
22+
cd build
23+
cmake .. -G Ninja \\
24+
-DCMAKE_BUILD_TYPE=Release \\
25+
-DCMAKE_C_COMPILER=/usr/bin/gcc \\
26+
-DCMAKE_CXX_COMPILER=/usr/bin/g++
27+
- name: Build with Ninja
28+
run: cd build; ninja
29+
- name: Run tests
30+
run: cd build; ctest . -V -L CORE
31+
732
check-macos-10_15-cmake-clang:
833
runs-on: macos-10.15
934
steps:

0 commit comments

Comments
 (0)