Fix CMake: remove excessive commands to the compiler to treat warnings as errors #55
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-and-run-tests | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
build-and-test-project: | |
name: Build Project | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Configure and Build Project | |
uses: threeal/cmake-action@main | |
with: | |
source-dir: ${{github.workspace}} | |
build-dir: ${{github.workspace}}/build/ | |
options: ASSERT=ON | |
- name: Run tests | |
working-directory: ${{github.workspace}}/build/ | |
run: | | |
ctest --output-on-failure |