Skip to content

Commit

Permalink
cmake: Fail on no-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Sep 2, 2024
1 parent 9c6b1bf commit 2c83a78
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,9 @@ jobs:

- name: Compile
run: |
mkdir build
cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -B build
cmake --build build
- name: Run Tests
run: |
cd build
ctest --verbose
ctest --verbose --no-tests=error --test-dir=build

0 comments on commit 2c83a78

Please sign in to comment.