ci: treat CMake deprecated and development warnings as errors

[sdl-ci-filter *]

(cherry picked from commit 64067c11ac)
This commit is contained in:
Anonymous Maarten
2026-07-16 02:31:41 +02:00
parent 7626a9c313
commit 29d07d3ed1

View File

@@ -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 }} \