[nautilus/separate-master-deps: 28/29] CI: Test weekly all master of dependencies



commit 6daacbec2e95f53621f7ed119e75228dd7848539
Author: Carlos Soriano <csoriano redhat com>
Date:   Mon May 28 15:16:05 2018 +0200

    CI: Test weekly all master of dependencies
    
    So we test the ecosystem regularly.

 .gitlab-ci.yml | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 18965fcec..a028186f3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,7 +20,7 @@ flatpak:
         MANIFEST_PATH: "build-aux/flatpak/org.gnome.Nautilus.yml"
         MESON_ARGS: "-Dprofile=development -Dtests=all"
         FLATPAK_MODULE: "nautilus"
-        RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
+        RUNTIME_REPO: "https://sdk.gnome.org/gnome.flatpakrepo";
         DBUS_ID: "org.gnome.NautilusDevel"
 
     script:
@@ -114,3 +114,37 @@ opensuse:tumbleweed:
         - schedules
         - web
         - tags
+
+flatpak:master:
+    image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
+    stage: cross_distro
+    variables:
+        MANIFEST_PATH: "build-aux/flatpak/org.gnome.Nautilus-master.yml"
+        MESON_ARGS: "-Dprofile=development -Dtests=all"
+        FLATPAK_MODULE: "nautilus"
+        RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
+        DBUS_ID: "org.gnome.NautilusDevel"
+
+    script:
+        - flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
+        # Make sure to keep this in sync with the Flatpak manifest, all arguments
+        # are passed except the config-args because we build it ourselves
+        - flatpak build app meson --prefix=/app --libdir=lib ${MESON_ARGS} _build
+        - flatpak build app ninja -C _build install
+        - flatpak-builder --finish-only --repo=repo app ${MANIFEST_PATH}
+        # Run automatic tests inside the Flatpak env
+        - xvfb-run -a -s "-screen 0 1024x768x24" flatpak build app ninja -C _build test
+        # Generate a Flatpak bundle
+        - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${DBUS_ID}
+    artifacts:
+        paths:
+            - ${BUNDLE}
+            - _build/meson-logs/
+        expire_in: 30 days
+    cache:
+        paths:
+            - .flatpak-builder/cache
+    only:
+        - schedules
+        - web
+        - tags


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