Skip to content

Commit 9a9d3af

Browse files
Hannes SteffenhagenHannes Steffenhagen
authored andcommitted
Add github action to do CI checks against macOS
1 parent c82daba commit 9a9d3af

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: pull-request-checks
4+
on:
5+
push:
6+
branches: [ develop ]
7+
pull_request:
8+
branches: [ develop ]
9+
10+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+
jobs:
12+
check-macos-10_15-cmake-clang:
13+
runs-on: macos-10.15
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: true
18+
- name: Fetch dependencies
19+
run: brew install cmake ninja maven flex bison
20+
- name: Configure using CMake
21+
run: |
22+
mkdir build
23+
cd build
24+
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
25+
- name: Build with Ninja
26+
run: cd build; ninja
27+
- name: Run CTest
28+
run: cd build; ctest -V -L CORE .

0 commit comments

Comments
 (0)