[libmanette] ci: Add the dependencies task
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmanette] ci: Add the dependencies task
- Date: Thu, 12 Nov 2020 18:41:42 +0000 (UTC)
commit 014c0bfc8bc9b723f1ecb4bd9ba4b1fcd20f51f0
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Nov 12 09:43:43 2020 +0100
ci: Add the dependencies task
It will be used as a base for other Flatpak-based tasks as we don't need
to rebuild it every time.
.gitlab-ci.yml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1ef8854..1889b68 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,12 +6,30 @@ stages:
variables:
BUNDLE: 'manette-test-git.flatpak'
+ FLATPAK_BUILD_DIR: app
+ SHARED_MESON_ARGS: >-
+ --buildtype=release
+ -Ddemos=false
lint:
stage: pre
script:
- tools/check-api-visibility.sh
+dependencies:
+ image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
+ stage: pre
+ tags:
+ - flatpak
+ variables:
+ MANIFEST_PATH: demos/manette-test/org.gnome.Manette.Test.json
+ FLATPAK_MODULE: libmanette
+ script:
+ - flatpak-builder --user --disable-rofiles-fuse --stop-at=${FLATPAK_MODULE} ${FLATPAK_BUILD_DIR}
${MANIFEST_PATH}
+ artifacts:
+ paths:
+ - ${FLATPAK_BUILD_DIR}
+
flatpak:
extends: '.flatpak'
variables:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]