From b8c6ba18f30f0be973655e35bdc0aefe0b9c8501 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 5 Jan 2023 21:37:26 +0100 Subject: [PATCH] Fail on warnings in MSW clang CI build We want to keep the build warning-free and we already use -Werror for the Unix CI builds, so do it here too, for consistency. --- .github/workflows/ci_msw.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_msw.yml b/.github/workflows/ci_msw.yml index 15a1475950..dc449add8c 100644 --- a/.github/workflows/ci_msw.yml +++ b/.github/workflows/ci_msw.yml @@ -151,6 +151,7 @@ jobs: cmake -G "MinGW Makefiles" \ -DCMAKE_C_COMPILER=clang.exe \ -DCMAKE_CXX_COMPILER=clang++.exe \ + -DCMAKE_CXX_FLAGS=-Werror \ -DCMAKE_BUILD_TYPE=Release \ -DwxBUILD_SAMPLES=ALL \ -DwxBUILD_TESTS=ALL \