[polari/wip/fmuellner/more-warnings: 3/3] ci: Bump the warning-level



commit 093e2ed404705b3112a8398a136c00485cccb26e
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Mar 11 00:12:14 2019 +0100

    ci: Bump the warning-level
    
    With the previous fixes, we can now build with an increased warning
    level to catch more errors. Unfortunately we cannot use the highest
    level, as the platform itself relies on some features that -Wpedantic
    complains about.
    
    https://gitlab.gnome.org/GNOME/polari/merge_requests/99

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 348fa41..dff6899 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -53,7 +53,7 @@ flatpak:
         - flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
         # Make sure to keep this in sync with the Flatpak manifest, all arguments
         # are passed except the config-args because we build it ourselves
-        - flatpak build app meson --prefix=/app ${MESON_ARGS} --werror _build
+        - flatpak build app meson --prefix=/app ${MESON_ARGS} --werror --warnlevel 2 _build
         - flatpak build app ninja -C _build install
         - flatpak-builder --finish-only --repo=repo --default-branch=${BRANCH} app ${MANIFEST_PATH}
         # Run automatic tests inside the Flatpak env


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