[nautilus] CI: simplify running build commands



commit a01652064ad0b823c14d9f9cde057ae7ea909826
Author: Ernestas Kulik <ernestask gnome org>
Date:   Wed Mar 21 07:30:00 2018 +0200

    CI: simplify running build commands
    
    Thanks to Christian for pointing out `flatpak build` use in Builder.

 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6c356bfeb..9105a9a98 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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


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