Cache canonical empty status #129
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build MacOS | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
types: [synchronize, opened, reopened, ready_for_review] | |
workflow_dispatch: | |
concurrency: | |
group: build-MacOS-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
if: github.event.pull_request.draft == false | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install depends | |
run: | | |
brew install cmake boost | |
- name: Build | |
run: | | |
mkdir -p build | |
cd build | |
CC=clang CXX=clang++ cmake ../ -DCMAKE_BUILD_TYPE=Debug -DPARDIBAAL_BuildTests=ON -DPARDIBAAL_GetDependencies=OFF .. | |
make | |
- name: Test | |
run: | | |
cd build | |
make test | |