summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-03-28 15:38:24 +0100
committerSimon Ser <contact@emersion.fr>2024-04-09 00:48:18 +0000
commit37699a98b1ebdc488a880b41b4b712403293d5d7 (patch)
treec4374223e58bb29a6297c0707cb90dc15d5368c8
parente7df1f2af2ccc80a85d28b6b4064c6466e425bd0 (diff)
ci: use --fatal-meson-warnings
Turns Meson warnings into errors. Useful to avoid missing warnings. Signed-off-by: Simon Ser <contact@emersion.fr>
-rw-r--r--.gitlab-ci.yml4
1 files 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: