[sound-juicer/wip/hadess/add-flatpak: 3/3] ci: Add CI



commit d9769a8a4f60a532d87efbf2aebbad14293c83f9
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jan 6 11:23:48 2020 +0100

    ci: Add CI

 .gitlab-ci.yml | 42 +++++++++++++++++++++++++++++++-----------
 1 file changed, 31 insertions(+), 11 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 91fa4f89..ce187ebf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,14 +1,34 @@
+include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+
 stages:
 - test
+- deploy
+
+variables:
+    GIT_SUBMODULE_STRATEGY: normal
+
+flatpak:master:
+    extends: .flatpak
+    image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
+    stage: test
+    variables:
+        BUNDLE: "sound-juicer-dev.flatpak"
+        MANIFEST_PATH: "data/org.gnome.SoundJuicer.json"
+        #MESON_ARGS: "-Dprofile=development"
+        FLATPAK_MODULE: "sound-juicer"
+        RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
+        APP_ID: "org.gnome.SoundJuicer"
+    extends: .flatpak
+
+review:
+    extends: .review
+    stage: deploy
+    dependencies:
+        - flatpak:master
+
+stop_review:
+    extends: .stop_review
+    stage: deploy
 
-build-fedora:
-  image: fedora:latest
-  stage: test
-  before_script:
-    - dnf install -y redhat-rpm-config gcc make git autoconf autoconf-archive yelp-tools 
libappstream-glib-devel diffutils automake "pkgconfig(gmodule-export-2.0)" 
"pkgconfig(gsettings-desktop-schemas)" "pkgconfig(gstreamer-1.0)" "pkgconfig(gstreamer-plugins-base-1.0)" 
"pkgconfig(gstreamer-pbutils-1.0)" "pkgconfig(gtk+-3.0)" "pkgconfig(iso-codes)" 
"pkgconfig(libbrasero-media3)" "pkgconfig(libcanberra-gtk3)" "pkgconfig(libdiscid)" 
"pkgconfig(libmusicbrainz5)" gstreamer1-plugins-good gettext-devel desktop-file-utils itstool 
/usr/bin/appstream-util
-  script:
-    - mkdir _build
-    - cd _build
-    - ../autogen.sh --disable-dependency-tracking --disable-Werror
-    - make
-    - sudo make install
+nightly:
+    extends: '.publish_nightly'


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