[four-in-a-row/flatpak-ci] Gitlab CI: build flatpak nightlies



commit 9352f07d6030395ba77a78810bd3d52dec4c39bd
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sun Jan 27 01:58:43 2019 +0100

    Gitlab CI: build flatpak nightlies

 .gitlab-ci.yml                         | 23 ++++++++++++++++++++
 build-aux/org.gnome.Four-in-a-row.json | 38 ++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..91da169
--- /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: "four-in-a-row-dev.flatpak"
+
+flatpak:
+    image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
+    variables:
+        MANIFEST_PATH: "build-aux/org.gnome.Four-in-a-row.json"
+        FLATPAK_MODULE: "four-in-a-row"
+        RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
+        APP_ID: "org.gnome.Four-in-a-row"
+    extends: .flatpak
+
+review:
+    stage: deploy
+    dependencies:
+        - 'flatpak'
+    extends: '.review'
+
+stop_review:
+    stage: deploy
+    extends: '.stop_review'
diff --git a/build-aux/org.gnome.Four-in-a-row.json b/build-aux/org.gnome.Four-in-a-row.json
new file mode 100644
index 0000000..181fa58
--- /dev/null
+++ b/build-aux/org.gnome.Four-in-a-row.json
@@ -0,0 +1,38 @@
+{
+    "app-id": "org.gnome.Four-in-a-row",
+    "runtime": "org.gnome.Platform",
+    "runtime-version": "master",
+    "sdk": "org.gnome.Sdk",
+    "command": "four-in-a-row",
+    "tags": [
+        "nightly"
+    ],
+    "desktop-file-name-prefix": "(Nightly) ",
+    "finish-args": [
+        "--share=ipc",
+        "--socket=x11",
+        "--socket=wayland",
+        "--socket=pulseaudio",
+        "--filesystem=xdg-run/dconf",
+        "--filesystem=~/.config/dconf:ro",
+        "--talk-name=ca.desrt.dconf",
+        "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
+    ],
+    "cleanup": [
+        "/include",
+        "/lib/*.la",
+        "/lib/pkgconfig",
+        "/share/man",
+        "/share/vala"
+    ],
+    "modules": [
+        {
+            "name": "four-in-a-row",
+            "buildsystem": "meson",
+            "sources": [{
+                "type": "git",
+                "url": "https://gitlab.gnome.org/GNOME/four-in-a-row.git";
+            }]
+        }
+    ]
+}


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