Cache canonical empty status #109
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 Linux | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
concurrency: | |
group: build-Linux-Clang-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install clang | |
- name: Prebuild | |
run: | | |
mkdir -p build | |
cd build | |
CC=clang CXX=clang++ cmake ../ -DCMAKE_BUILD_TYPE=Prebuild -DPARDIBAAL_BuildTests=ON .. | |
make | |
- name: Build | |
run: | | |
mkdir -p build | |
cd build | |
CC=clang CXX=clang++ cmake ../ -DCMAKE_BUILD_TYPE=Debug -DPARDIBAAL_BuildTests=ON .. | |
make | |
- name: Test | |
run: | | |
cd build | |
make test | |