[gnome-weather/wip/christopherdavis/override-ci-script] CI: override script to exclude testing



commit d8b4560bacd2b008f5bfc903bcdc188a4a6f9196
Author: Christopher Davis <brainblasted disroot org>
Date:   Thu Feb 21 23:51:14 2019 -0500

    CI: override script to exclude testing
    
    Weather's tests currently fail in CI due to the CI
    images not bundling dogtail. So, we need to override the
    template's script in order to have effective CI.

 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0207214..406ffd2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,3 +11,12 @@ flatpak:
         RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
         APP_ID: "org.gnome.Weather"
     extends: .flatpak
+    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 ${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} ${APP_ID}


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