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

@@ -36,7 +36,8 @@ jobs:
- name: Configure (CMake)
if: ${{ matrix.platform.name == 'CMake' }}
run: |
cmake -B build \
cmake -S . -B build \
-Wdeprecated -Wdev -Werror \
-DCMAKE_TOOLCHAIN_FILE=${{ steps.setup_ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake \
-DSDL_WERROR=ON \
-DANDROID_PLATFORM=${{ matrix.platform.android_platform }} \