Skip to content

Commit

Permalink
Merge pull request #5439 from hannes-steffenhagen-diffblue/CI/macos-1…
Browse files Browse the repository at this point in the history
…0.15-github-action

Add github action to do CI checks against macOS
  • Loading branch information
hannes-steffenhagen-diffblue authored Aug 7, 2020
2 parents 666c2f0 + c2ad0e6 commit af5bc99
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 af5bc99

Please sign in to comment.