Skip to content

Commit

Permalink
Add github action to do CI checks against macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannes Steffenhagen authored and hannes-steffenhagen-diffblue committed Aug 7, 2020
1 parent 666c2f0 commit c2ad0e6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: pull-request-checks
on:
pull_request:
branches: [ develop ]

jobs:
check-macos-10_15-cmake-clang:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Fetch dependencies
run: brew install cmake ninja maven flex bison
- name: Configure using CMake
run: |
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
- name: Build with Ninja
run: cd build; ninja
- name: Run CTest
run: cd build; ctest -V -L CORE .

0 comments on commit c2ad0e6

Please sign in to comment.