Drive-by tidying #160
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: C/C++ CI | |
on: | |
push: | |
branches: [ "master", "clang-ci" ] | |
pull_request: | |
branches: [ "master", "clang-ci" ] | |
jobs: | |
build-gcc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: configure | |
run: | | |
sudo apt install g++ liblzma-dev zlib1g-dev | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ | |
- name: make | |
run: make VERBOSE=1 | |
- name: make check | |
run: make check CTEST_OUTPUT_ON_FAILURE=TRUE | |
build-clang: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: configure | |
run: | | |
sudo apt install clang liblzma-dev zlib1g-dev | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang | |
- name: make | |
run: make VERBOSE=1 | |
- name: make check | |
run: make check CTEST_OUTPUT_ON_FAILURE=TRUE |