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




commit cae9402458d59c93b8dd2c768298c035f85837a5
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 c845ce15cd..e26d5b1102 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]