Skip to content

Fix CMake: remove excessive commands to the compiler to treat warnings as errors #55

Fix CMake: remove excessive commands to the compiler to treat warnings as errors

Fix CMake: remove excessive commands to the compiler to treat warnings as errors #55

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