[PATCH 1/2] ci: treat warning as error for MSVC builds in GHA

David Marchand david.marchand at redhat.com
Tue Jun 10 10:36:41 CEST 2025


Some trivial builds warnings with MSVC were missed as those were not
treated as errors.

Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 .github/workflows/build.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1e289979e3..e5f17ef6ac 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -198,7 +198,7 @@ jobs:
       shell: cmd
       run: |
         call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64
-        meson setup -Denable_stdatomic=true build
+        meson setup -Denable_stdatomic=true -Dwerror=true build
     - name: Build
       shell: cmd
       run: |
-- 
2.49.0



More information about the dev mailing list