mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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:
parent
e7df1f2af2
commit
37699a98b1
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue