ci: enable -Werror=dev

Turn developer & deprecation warnings into errors.
This commit is contained in:
fanquake
2025-07-03 11:46:19 +01:00
parent 7b420ca834
commit 8f766f39df
3 changed files with 3 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ def main():
"cmake",
"-B",
"build",
"-Werror=dev",
"-DCMAKE_C_COMPILER=clang",
"-DCMAKE_CXX_COMPILER=clang++",
"-DWERROR=ON",

View File

@@ -223,7 +223,7 @@ jobs:
- name: Generate build system
run: |
cmake -B build --preset vs2022 -DCMAKE_TOOLCHAIN_FILE="${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" ${{ matrix.generate-options }}
cmake -B build -Werror=dev --preset vs2022 -DCMAKE_TOOLCHAIN_FILE="${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" ${{ matrix.generate-options }}
- name: Save vcpkg binary cache
uses: actions/cache/save@v4