[gtkmm] CI: Don't use warning_level and werror



commit b9ba2a70ce48ca3b4897bc3ea6b62eb899f0323a
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sun Jul 24 13:47:07 2022 +0200

    CI: Don't use warning_level and werror
    
    The are applied also to subprojects.

 .gitlab-ci.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3679c852..05568d75 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,6 +31,8 @@ variables:
                    libgstreamer-plugins-good1.0-dev
                    libgstreamer-plugins-bad1.0-dev
                    libgudev-1.0-dev
+                   libsass-dev
+
   GIO_EXTRA_MODULES: "/usr/lib/x86_64-linux-gnu/gio/modules"
   GIT_SUBMODULE_STRATEGY: normal
 
@@ -131,7 +133,9 @@ release_gcc_build:
     - cp -r installdir/usr /
     - mkdir _build && cd _build
     # -Ddebug=false + -Doptimization=3 correspond to -Dbuildtype=release
-    - meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal -Dwarning_level=3 
-Dwerror=true
+    # Don't use warning_level and werror. They are applied also to subprojects.
+    # meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal -Dwarning_level=3 
-Dwerror=true
+    - meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal
     - meson compile
     # Some tests fail with
     #   Unable to init Broadway server: Could not connect: No such file or directory
@@ -155,7 +159,9 @@ release_clang_build:
     - cp -r installdir/usr /
     - mkdir _build && cd _build
     # -Ddebug=false + -Doptimization=3 correspond to -Dbuildtype=release
-    - CC=clang CXX=clang++ meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal 
-Dwarning_level=3 -Dwerror=true
+    # Don't use warning_level and werror. They are applied also to subprojects.
+    # CC=clang CXX=clang++ meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal 
-Dwarning_level=3 -Dwerror=true
+    - CC=clang CXX=clang++ meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal
     - meson compile
     # See comment in the release_gcc_build job.
     # - meson test


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