Enable and treat CMake warnings as errors

This commit is contained in:
Robin Linden
2022-06-06 18:37:57 +02:00
parent a7c87b7bcc
commit 114ab2831d

View File

@@ -68,7 +68,7 @@ jobs:
- run: echo "CC=${{ matrix.compiler }}" >> $GITHUB_ENV
if: startsWith(matrix.os, 'ubuntu')
- run: cmake -S . -B build -G "${{ matrix.generator }}" ${{ matrix.cmake-args }}
- run: cmake -Wdev -Werror=dev -S . -B build -G "${{ matrix.generator }}" ${{ matrix.cmake-args }}
- run: cmake --build build