From a53d78a14fe9e15949420bbe88f836441e40b5dd Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Tue, 19 Aug 2025 20:41:47 +0200 Subject: [PATCH] CI: Treat warnings as errors for MSCV build and for clang-tidy --- .github/actions/clang-tidy/action.yml | 2 +- .github/actions/win-cmake/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/clang-tidy/action.yml b/.github/actions/clang-tidy/action.yml index 75a75fcca..c74ec7dfe 100644 --- a/.github/actions/clang-tidy/action.yml +++ b/.github/actions/clang-tidy/action.yml @@ -5,5 +5,5 @@ runs: steps: - name: Run clang-tidy - run: run-clang-tidy-17 -q -p build + run: run-clang-tidy-17 -q -p build -warnings-as-errors=\* shell: bash diff --git a/.github/actions/win-cmake/action.yml b/.github/actions/win-cmake/action.yml index 8e1c4b24c..8dc05f784 100644 --- a/.github/actions/win-cmake/action.yml +++ b/.github/actions/win-cmake/action.yml @@ -9,7 +9,7 @@ runs: shell: bash - name: Configure - run: cmake -LA .. -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DBUILD_TESTS=ON -DBoost_USE_STATIC_LIBS=ON + run: cmake -LA .. -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DBUILD_TESTS=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON -DBoost_USE_STATIC_LIBS=ON shell: bash working-directory: build