1
0
Fork 0

ci: Add a Wayland only target

To ensure a Wayland only job without Xwayland and in the future
without x11 server works as expected

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2399>
This commit is contained in:
Bilal Elmoussaoui 2022-06-14 16:08:05 +02:00 committed by Marge Bot
parent 4bbad6063a
commit 6ea70600af

View file

@ -305,6 +305,26 @@ build-without-native-backend-and-wayland@x86_64:
paths: paths:
- build/meson-logs - build/meson-logs
build-wayland-only@x86_64:
extends:
- .fdo.distribution-image@fedora
- .mutter.fedora@x86_64
stage: build
needs:
- build-fedora-container@x86_64
script:
- meson . build --werror --prefix /usr
-Dbuildtype=debugoptimized
-Dwayland=true
-Dxwayland=false
-Dcore_tests=false
-Dnative_tests=false
- meson compile -C build
- meson install -C build
artifacts:
paths:
- build/meson-logs
.test-setup: &test-setup .test-setup: &test-setup
variables: variables:
XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir" XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"