ci: treat CMake deprecated and development warnings as errors

[sdl-ci-filter *]
This commit is contained in:
Anonymous Maarten
2026-07-16 02:31:41 +02:00
committed by Anonymous Maarten
parent e442a9a5e1
commit 64067c11ac

View File

@@ -219,7 +219,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 }} \