[gssdp/wip/ci: 64/64] ci: Add flatpak-based CI
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp/wip/ci: 64/64] ci: Add flatpak-based CI
- Date: Sun, 16 Dec 2018 16:37:06 +0000 (UTC)
commit 7616c87dbcd558ddffaa94046e06928d33ae52df
Author: Jens Georg <mail jensge org>
Date: Sun Dec 16 17:34:29 2018 +0100
ci: Add flatpak-based CI
.gitlab-ci.yml | 18 +++++++++++++++
build-aux/org.gnome.GSSDP.json | 50 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..abdb2e5
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,18 @@
+gssdp:
+ image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:3.30
+ stage: build
+ script:
+ - flatpak-builder build-dir build-aux/org.gnome.GSSDP.json --stop-at=gexiv2
+ - flatpak build build-dir meson _build
+ - flatpak build build-dir ninja -C _build
+ - flatpak build build-dir ninja -C _build test
+ artifacts:
+ when: on_failure
+ name: "gssdp-_${CI_COMMIT_REF_NAME}"
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
+ cache:
+ paths:
+ - .flatpak-builder/downloads
+ - .flatpak-builder/git
+
diff --git a/build-aux/org.gnome.GSSDP.json b/build-aux/org.gnome.GSSDP.json
new file mode 100644
index 0000000..4188ffd
--- /dev/null
+++ b/build-aux/org.gnome.GSSDP.json
@@ -0,0 +1,50 @@
+{
+ "app-id" : "org.gnome.GExiv2",
+ "runtime" : "org.gnome.Platform",
+ "runtime-version" : "3.30",
+ "sdk" : "org.gnome.Sdk",
+ "command" : "gexiv2",
+ "tags" : [
+ "nightly"
+ ],
+ "desktop-file-name-prefix" : "(Nightly) ",
+ "cleanup" : [
+ "/include",
+ "/lib/pkconfig",
+ "/share/pkgconfig",
+ "/share/gtk-doc",
+ "/share/man",
+ "/share/vala",
+ "/lib/girepository",
+ "*.la",
+ "*.a"
+ ],
+ "modules" : [
+ {
+ "name" : "gexiv2",
+ "buildsystem" : "meson",
+ "cleanup" : [
+ "/lib/girepository-1.0",
+ "/share/gir-1.0"
+ ],
+ "config-opts" : [
+ "-Dexamples=true",
+ "-Dsniffer=true",
+ "-Dvapi=true",
+ "-Dintrospection=true"
+ ],
+ "build-options" : {
+ "env" : {
+ "PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR" : "/app/share/gir-1.0",
+ "PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR" : "/app/lib/girepository-1.0"
+ }
+ },
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://gitlab.gnome.org/GNOME/gssdp.git/"
+ }
+ ]
+ }
+ ]
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]