[gnome-initial-setup/wip/wjt/build-misc: 4/4] ci: Make Meson warnings fatal




commit ef6ff81e72aef9d71349843bd52faad51e553ef7
Author: Will Thompson <will willthompson co uk>
Date:   Wed Jun 22 22:45:14 2022 +0100

    ci: Make Meson warnings fatal

 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d25edb52..adbaedaf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -80,7 +80,7 @@ build.container.fedora@x86_64:
     # In general, we would like warnings to be fatal. However, code copied from
     # gnome-control-center uses many deprecated functions. Until we have a good
     # answer to sharing that code (#68), make those warnings non-fatal.
-    - meson
+    - meson setup
         -Dsystemd=${EXPLICIT_FEATURES}
         -Dsoup2=true
         --auto-features ${AUTO_FEATURES}
@@ -88,6 +88,7 @@ build.container.fedora@x86_64:
         -Dwerror=true -Dc_args=-Wno-error=deprecated-declarations
         ${EXTRA_PARAMETERS}
         --wrap-mode=nodownload
+        --fatal-meson-warnings
         _build
         .
     - cd _build


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]