Skip to content

Commit af5bc99

Browse files
Merge pull request #5439 from hannes-steffenhagen-diffblue/CI/macos-10.15-github-action
Add github action to do CI checks against macOS
2 parents 666c2f0 + c2ad0e6 commit af5bc99

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: pull-request-checks
2+
on:
3+
pull_request:
4+
branches: [ develop ]
5+
6+
jobs:
7+
check-macos-10_15-cmake-clang:
8+
runs-on: macos-10.15
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
submodules: true
13+
- name: Fetch dependencies
14+
run: brew install cmake ninja maven flex bison
15+
- name: Configure using CMake
16+
run: |
17+
mkdir build
18+
cd build
19+
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
20+
- name: Build with Ninja
21+
run: cd build; ninja
22+
- name: Run CTest
23+
run: cd build; ctest -V -L CORE .

0 commit comments

Comments
 (0)