diff options
author | Carlos Soriano <csoriano@redhat.com> | 2018-05-28 15:16:05 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano1618@gmail.com> | 2018-05-28 19:50:08 +0000 |
commit | 6daacbec2e95f53621f7ed119e75228dd7848539 (patch) | |
tree | 561c8fa8d786ed84840bd2c91552a1ef67ab1026 /.gitlab-ci.yml | |
parent | b496a4cb3ec4f0447a3c514ec7097644af2a78ce (diff) | |
download | nautilus-6daacbec2e95f53621f7ed119e75228dd7848539.tar.gz |
CI: Test weekly all master of dependencies
So we test the ecosystem regularly.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 36 |
1 files changed, 35 insertions, 1 deletions
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 |