mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-16 22:11:07 +00:00
ci: treat CMake deprecated and development warnings as errors
[sdl-ci-filter *]
(cherry picked from commit 64067c11ac)
This commit is contained in:
2
.github/workflows/generic.yml
vendored
2
.github/workflows/generic.yml
vendored
@@ -200,7 +200,7 @@ jobs:
|
||||
run: |
|
||||
${{ matrix.platform.source-cmd }}
|
||||
${{ matrix.platform.cmake-config-emulator }} cmake -S . -B build -G "${{ matrix.platform.cmake-generator }}" \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-Wdeprecated -Wdev -Werror=dev -Werror=deprecated \
|
||||
${{ matrix.platform.cmake-toolchain-file != '' && format('-DCMAKE_TOOLCHAIN_FILE={0}', matrix.platform.cmake-toolchain-file) || '' }} \
|
||||
-DSDL_WERROR=${{ matrix.platform.werror }} \
|
||||
-DSDL_EXAMPLES=${{ matrix.platform.build-tests }} \
|
||||
|
||||
Reference in New Issue
Block a user