ci: fail CMake configuration on warning
This commit is contained in:
1 parent
23c2c15a70
commit
64c97906c9
11 files changed
+12
-1
No files matched your search
@@ -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 }} \
|
||||
|
||||
Reference in new issue
Block a user