[hitori: 1/2] Gitlab CI: setup flatpak nightlies
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hitori: 1/2] Gitlab CI: setup flatpak nightlies
- Date: Thu, 22 Aug 2019 10:39:51 +0000 (UTC)
commit bd18aa9885e14e01d203a46773ea27789c9254dd
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Sat Jan 12 22:31:11 2019 +0000
Gitlab CI: setup flatpak nightlies
Rebased and updated by Philip Withnall.
.gitlab-ci.yml | 47 ++++++++++++++++++++++++++++++++++++-----------
1 file changed, 36 insertions(+), 11 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 499636e..d8f4c8a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,18 +1,17 @@
-image: debian:unstable
-
-before_script:
- - apt update -qq
- - apt install -y -qq build-essential meson pkg-config gtk-doc-tools
- libxml2-utils gobject-introspection dbus
- libglib2.0-dev libgtk-3-dev appstream-util
- desktop-file-utils lcov gettext
- - export LANG=C.UTF-8
-
stages:
- build
+ - deploy
build-and-test:
stage: build
+ image: debian:unstable
+ before_script:
+ - apt update -qq
+ - apt install -y -qq build-essential meson pkg-config gtk-doc-tools
+ libxml2-utils gobject-introspection dbus
+ libglib2.0-dev libgtk-3-dev appstream-util
+ desktop-file-utils lcov gettext
+ - export LANG=C.UTF-8
script:
- meson --buildtype debug --werror _build .
- ninja -C _build
@@ -26,4 +25,30 @@ build-and-test:
- "${CI_PROJECT_DIR}/_build/meson-logs"
# FIXME: Run gtkdoc-check when we can. See:
-# https://github.com/mesonbuild/meson/issues/3580
\ No newline at end of file
+# https://github.com/mesonbuild/meson/issues/3580
+
+# flatpak nightly support
+include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+
+variables:
+ BUNDLE: "hitori-dev.flatpak"
+
+flatpak:
+ stage: build
+ image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
+ variables:
+ MANIFEST_PATH: "flatpak/org.gnome.Hitori-unstable.json"
+ FLATPAK_MODULE: "hitori"
+ RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo"
+ APP_ID: "org.gnome.Hitori"
+ extends: .flatpak
+
+review:
+ stage: deploy
+ dependencies:
+ - 'flatpak'
+ extends: '.review'
+
+stop_review:
+ stage: deploy
+ extends: '.stop_review'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]