[evolution/bilelmoussaoui/flatpak: 5/5] CI: Add a Flatpak job
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/bilelmoussaoui/flatpak: 5/5] CI: Add a Flatpak job
- Date: Mon, 28 Mar 2022 08:05:22 +0000 (UTC)
commit 91a2a25b5fe86bc8389a7aec912735e18e287853
Author: Bilal Elmoussaoui <belmouss redhat com>
Date: Mon Mar 28 09:47:38 2022 +0200
CI: Add a Flatpak job
We can't make use of the CI template as it is Meson only
.gitlab-ci.yml | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000..8b1d9abe8e
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,29 @@
+stages:
+ - test
+
+flatpak:
+ image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master"
+ stage: test
+ tags:
+ - flatpak
+ variables:
+ BUNDLE: "evolution-nightly.flatpak"
+ MANIFEST_PATH: "flatpak/org.gnome.Evolution.json"
+ FLATPAK_MODULE: "evolution"
+ APP_ID: "org.gnome.Evolution"
+ RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
+ script:
+ - >
+ xvfb-run -a -s "-screen 0 1024x768x24"
+ flatpak-builder --keep-build-dirs --user --disable-rofiles-fuse flatpak_app --repo=repo
${BRANCH:+--default-branch=$BRANCH} ${MANIFEST_PATH}
+ - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH}
+ artifacts:
+ name: "Flatpak artifacts"
+ expose_as: "Get Flatpak bundle here"
+ when: "always"
+ paths:
+ - "${BUNDLE}"
+ - ".flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-logs/meson-log.txt"
+ - ".flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-logs/testlog.txt"
+ expire_in: 14 days
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]