[mutter/bilelmoussaoui/without-xwayland] ci: Add a Xwayland-less target




commit d1b2925455b11cf63b2c3d970ac4577c14f35e51
Author: Bilal Elmoussaoui <belmouss redhat com>
Date:   Tue Jun 14 16:08:05 2022 +0200

    ci: Add a Xwayland-less target
    
    To ensure a Wayland only job without Xwayland works as expected

 .gitlab-ci.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b0e20ee710..562a91ab9f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -316,6 +316,27 @@ build-without-native-backend-and-wayland@x86_64:
     paths:
       - build/meson-logs
 
+build-without-xwayland@x86_64:
+  extends:
+    - .fdo.distribution-image@fedora
+    - .mutter.fedora:35@x86_64
+  stage: build
+  needs:
+    - build-fedora-container@x86_64
+  script:
+    - meson . build --werror --prefix /usr
+        -Dbuildtype=debugoptimized
+        -Dudev=false
+        -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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]