[gnome-klotski/flatpak-ci: 3/6] Gitlab CI: add a flatpak manifest & build nightlies



commit cb3390ea8f41a11efc0a52a4821be607319ed3c1
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sat Jan 19 13:12:45 2019 +0100

    Gitlab CI: add a flatpak manifest & build nightlies

 .gitlab-ci.yml                   | 23 ++++++++++++++++++++++
 build-aux/org.gnome.Klotski.json | 42 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..6d84b96
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+
+variables:
+    BUNDLE: "klotski-dev.flatpak"
+
+flatpak:
+    image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
+    variables:
+        MANIFEST_PATH: "build-aux/org.gnome.Klotski.json"
+        FLATPAK_MODULE: "gnome-klotski"
+        RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
+        APP_ID: " org.gnome.Klotski"
+    extends: .flatpak
+
+review:
+    stage: deploy
+    dependencies:
+        - 'flatpak'
+    extends: '.review'
+
+stop_review:
+    stage: deploy
+    extends: '.stop_review'
diff --git a/build-aux/org.gnome.Klotski.json b/build-aux/org.gnome.Klotski.json
new file mode 100644
index 0000000..d2f08bd
--- /dev/null
+++ b/build-aux/org.gnome.Klotski.json
@@ -0,0 +1,42 @@
+{
+    "app-id": "org.gnome.Klotski",
+    "runtime": "org.gnome.Platform",
+    "runtime-version": "master",
+    "sdk": "org.gnome.Sdk",
+    "command": "gnome-klotski",
+    "tags": ["nightly"],
+    "desktop-file-name-prefix": "(Nightly) ",
+    "finish-args": [
+        /* X11 + XShm access */
+        "--share=ipc", "--socket=x11",
+        /* Wayland access */
+        "--socket=wayland",
+        /* dconf */
+        "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
+        "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
+    ],
+    "modules": [{
+            "name": "libgee",
+            "config-opts": ["--enable-introspection=no"],
+            "sources": [{
+                "type": "git",
+                "url": "https://gitlab.gnome.org/GNOME/libgee.git";
+            }]
+        },
+        {
+            "name": "libgnome-games-support",
+            "sources": [{
+                "type": "git",
+                "url": "https://gitlab.gnome.org/GNOME/libgnome-games-support.git";
+            }]
+        },
+        {
+            "name": "gnome-klotski",
+            "buildsystem": "meson",
+            "sources": [{
+                "type": "git",
+                "url": "https://gitlab.gnome.org/GNOME/gnome-klotski.git";
+            }]
+        }
+    ]
+}
\ No newline at end of file


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