ci: build with meson --fatal-meson-warnings

This catches uses of deprecated features.

Signed-off-by: Simon Ser <contact@emersion.fr>
main
Simon Ser 2024-03-29 11:37:15 +01:00
parent 764ed8b916
commit 5a9cfb3c59
1 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ x86_64-freebsd-container_prep:
GIT_DEPTH: 10 GIT_DEPTH: 10
script: script:
- meson build - meson build
--auto-features=enabled --fatal-meson-warnings --auto-features=enabled
-D udev=true -D udev=true
- ninja -C build - ninja -C build
- ninja -C build test - ninja -C build test
@ -213,7 +213,7 @@ x86_64-freebsd-container_prep:
# the workspace to see details about the failed tests. # the workspace to see details about the failed tests.
- | - |
set +e set +e
/app/vmctl exec "pkg info; cd $CI_PROJECT_NAME ; meson build --auto-features=enabled -D etnaviv=disabled -D nouveau=disabled -D valgrind=disabled && ninja -C build" /app/vmctl exec "pkg info; cd $CI_PROJECT_NAME ; meson build --fatal-meson-warnings --auto-features=enabled -D etnaviv=disabled -D nouveau=disabled -D valgrind=disabled && ninja -C build"
set -ex set -ex
scp -r vm:$CI_PROJECT_NAME/build/meson-logs . scp -r vm:$CI_PROJECT_NAME/build/meson-logs .
/app/vmctl exec "ninja -C $CI_PROJECT_NAME/build install" /app/vmctl exec "ninja -C $CI_PROJECT_NAME/build install"