Skip to content

Commit 64067c1

Browse files
committed
ci: treat CMake deprecated and development warnings as errors
[sdl-ci-filter *]
1 parent e442a9a commit 64067c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/generic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
run: |
220220
${{ matrix.platform.source-cmd }}
221221
${{ matrix.platform.cmake-config-emulator }} cmake -S . -B build -G "${{ matrix.platform.cmake-generator }}" \
222-
-Wdeprecated -Wdev -Werror \
222+
-Wdeprecated -Wdev -Werror=dev -Werror=deprecated \
223223
${{ matrix.platform.cmake-toolchain-file != '' && format('-DCMAKE_TOOLCHAIN_FILE={0}', matrix.platform.cmake-toolchain-file) || '' }} \
224224
-DSDL_WERROR=${{ matrix.platform.werror }} \
225225
-DSDL_EXAMPLES=${{ matrix.platform.build-tests }} \

0 commit comments

Comments
 (0)