mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 10:45:41 +00:00
CI: Test weekly all master of dependencies
So we test the ecosystem regularly.
This commit is contained in:
parent
b496a4cb3e
commit
6daacbec2e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue