ci: use --fatal-meson-warnings

Turns Meson warnings into errors. Useful to avoid missing warnings.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2024-03-28 15:38:24 +01:00
parent e7df1f2af2
commit 37699a98b1

View file

@ -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: