Skip to content

Commit 40aead9

Browse files
Add Github Actions CI for Ubuntu 20.20
1 parent af5bc99 commit 40aead9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

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

66
jobs:
7+
check-ubuntu-20_04-cmake-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+
run: sudo 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 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++
24+
- name: Build with Ninja
25+
run: cd build; ninja
26+
- name: Run tests
27+
run: cd build; ctest . -V -L CORE
28+
729
check-macos-10_15-cmake-clang:
830
runs-on: macos-10.15
931
steps:

0 commit comments

Comments
 (0)