ci: fail CMake configuration on warning

This commit is contained in:
Anonymous Maarten
2023-01-24 05:30:24 +01:00
committed by Anonymous Maarten
parent 23c2c15a70
commit 64c97906c9
11 changed files with 12 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ jobs:
run: |
cmake -S . -B build -GNinja \
-Wdeprecated -Wdev -Werror \
-DSDL_CHECK_REQUIRED_INCLUDES="/usr/local/include" \
-DSDL_CHECK_REQUIRED_LINK_OPTIONS="-L/usr/local/lib"
cmake --build build --verbose -- -j`sysctl -n hw.ncpu`