mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-24 18:25:50 +00:00
CI: simplify running build commands
Thanks to Christian for pointing out `flatpak build` use in Builder.
This commit is contained in:
parent
24e2adb534
commit
a01652064a
|
@ -18,13 +18,13 @@ flatpak:master:
|
|||
- flatpak-builder --stop-at=nautilus app build-aux/flatpak/org.gnome.Nautilus.json
|
||||
# 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-builder --run app build-aux/flatpak/org.gnome.Nautilus.json meson --prefix=/app --libdir=/app/lib -Dprofile=development _build
|
||||
- flatpak-builder --run app build-aux/flatpak/org.gnome.Nautilus.json ninja -C _build install
|
||||
- flatpak build app meson --prefix=/app --libdir=/app/lib -Dprofile=development _build
|
||||
- flatpak build app ninja -C _build install
|
||||
- flatpak-builder --finish-only --repo=repo app build-aux/flatpak/org.gnome.Nautilus.json
|
||||
# Make a Flatpak Nautilus bundle for people to test
|
||||
- flatpak build-bundle repo nautilus-dev.flatpak --runtime-repo=https://sdk.gnome.org/gnome-nightly.flatpakrepo org.gnome.NautilusDevel
|
||||
# Run automatic tests inside the Flatpak env
|
||||
- flatpak-builder --run app build-aux/flatpak/org.gnome.Nautilus.json ninja -C _build test
|
||||
- flatpak build app ninja -C _build test
|
||||
artifacts:
|
||||
paths:
|
||||
- nautilus-dev.flatpak
|
||||
|
|
Loading…
Reference in a new issue