mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-24 18:25:50 +00:00
CI: Run the tests before the bundle
It makes a bit more sense
This commit is contained in:
parent
3cdf284a1f
commit
d3a6c2bf1f
|
@ -30,10 +30,10 @@ flatpak:
|
|||
- 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}
|
||||
# Generate a Flatpak bundle
|
||||
- flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${DBUS_ID}
|
||||
# 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}
|
||||
|
|
Loading…
Reference in a new issue