From 6ea70600af136d5b155c3ec8a3980db3bcc5b6fa Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Tue, 14 Jun 2022 16:08:05 +0200 Subject: [PATCH] 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: --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 459f55b05..2e652a97a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -305,6 +305,26 @@ build-without-native-backend-and-wayland@x86_64: paths: - 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 variables: XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"