From 37699a98b1ebdc488a880b41b4b712403293d5d7 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 28 Mar 2024 15:38:24 +0100 Subject: ci: use --fatal-meson-warnings Turns Meson warnings into errors. Useful to avoid missing warnings. Signed-off-by: Simon Ser --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 356181b..fd47a4b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -217,7 +217,7 @@ armv7-debian-container_prep: stage: "Build and test" script: - cd "$BUILDDIR" - - meson --prefix="$PREFIX" -Dicon_directory=/usr/share/X11/icons -Dwerror=true ${MESON_BUILD_TYPE} .. + - meson --prefix="$PREFIX" -Dicon_directory=/usr/share/X11/icons --fatal-meson-warnings -Dwerror=true ${MESON_BUILD_TYPE} .. - ninja -k0 -j${FDO_CI_CONCURRENT:-4} - meson test --num-processes ${FDO_CI_CONCURRENT:-4} - ninja clean @@ -306,7 +306,7 @@ armv7-release-debian-build: FDO_DISTRIBUTION_TAG: "2023-08-02.0" # Don't build documentation since installing the required tools massively # increases the VM image (and therefore container) size. - MESON_ARGS: "-Ddocumentation=false" + MESON_ARGS: "--fatal-meson-warnings -Ddocumentation=false" .freebsd-x86_64: extends: -- cgit v1.2.3-70-g09d2