Minor modifications for better usuability #94
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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-debug: | |
name: CMake Debug Build | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install-eigen | |
run: sudo apt install libeigen3-dev | |
- name: configure | |
run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. | |
- name: build | |
run: cmake --build build | |
build-release: | |
name: CMake Release Build | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install-eigen | |
run: sudo apt install libeigen3-dev | |
- name: configure | |
run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. | |
- name: build | |
run: cmake --build build | |
- name: test | |
run: cd build && ctest all | |