mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-11 06:28:24 +02:00
ci: fail CMake configuration on warning
This commit is contained in:
committed by
Anonymous Maarten
parent
23c2c15a70
commit
64c97906c9
3
.github/workflows/android.yml
vendored
3
.github/workflows/android.yml
vendored
@@ -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