[mutter/bilelmoussaoui/without-xwayland: 5/5] ci: Add a Wayland only target




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

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

 .gitlab-ci.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a39e777bb4..4915e430da 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -314,6 +314,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:35@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"


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