Fix 804cc7f7863d0514e3024ad967b3e187ac8b8561 (#7) #11
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 ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: sudo apt-get install -y libboost-all-dev | |
- name: Configure | |
run: mkdir build && cd build && cmake -DCOMPILER=native -DCMAKE_BUILD_TYPE=Release -DNO_BOOST_GRAPH=1 .. | |
- name: Build | |
run: cmake --build build | |
- name: Run tests | |
run: ctest --rerun-failed --output-on-failure --test-dir build |