[gnome-build-meta/abderrahim/freedesktop-sdk-18.08.11-3.30: 24/26] .gitlab-ci.yml: push the flatpak runtimes even if building the rest fails
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/freedesktop-sdk-18.08.11-3.30: 24/26] .gitlab-ci.yml: push the flatpak runtimes even if building the rest fails
- Date: Thu, 20 Sep 2018 15:10:46 +0000 (UTC)
commit 414bfc26c362b732198849fcb2c04c952fbd1a70
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Thu Sep 13 22:01:46 2018 +0100
.gitlab-ci.yml: push the flatpak runtimes even if building the rest fails
This allows to push the flatpak runtimes for i386 and arm which currently
lack gobject introspection for WebKit
.gitlab-ci.yml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 57 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e14ca86..c24dcbb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ variables:
FLATPAK_SERVER_ADDRESS: 'gbm.gnome.org'
stages:
+ - flatpak
- build
@@ -87,11 +88,10 @@ before_script:
fi
-.build-template: &build
- stage: build
- dependencies: []
+.flatpak-template: &flatpak
+ stage: flatpak
script:
- - ${BST} -o arch "${ARCH}" build core.bst flatpak-runtimes.bst
+ - ${BST} -o arch "${ARCH}" build flatpak-runtimes.bst
# checkout the runtimes
- |
@@ -127,6 +127,59 @@ before_script:
- logs
- project.refs
+build-flatpak-runtimes-x86_64:
+ image: buildstream/buildstream-fedora:master-113-499df6a5
+ <<: *flatpak
+ tags:
+ - do
+ - progress
+ variables:
+ ARCH: x86_64
+
+build-flatpak-runtimes-i386:
+ image: buildstream/buildstream-fedora:master-113-499df6a5
+ <<: *flatpak
+ tags:
+ - do
+ variables:
+ ARCH: i386
+
+build-flatpak-runtimes-aarch64:
+ image: buildstream/buildstream-fedora:aarch64-master-113-499df6a5
+ <<: *flatpak
+ tags:
+ - aarch64
+ variables:
+ ARCH: aarch64
+
+build-flatpak-runtimes-arm:
+ image: buildstream/buildstream-fedora:aarch64-master-113-499df6a5
+ <<: *flatpak
+ tags:
+ - armhf
+ variables:
+ ARCH: arm
+
+.build-template: &build
+ stage: build
+ dependencies: []
+ script:
+ - ${BST} -o arch "${ARCH}" build core.bst
+
+ # Store all the downloaded git and ostree repos in the distributed cache.
+ # This saves us fetching them from the different repos and further afield
+ # on every build.
+ cache:
+ key: bst
+ paths:
+ - "${XDG_CACHE_HOME}/buildstream/sources/"
+ # Store artifacts so we can inspect build failures
+ artifacts:
+ when: always
+ paths:
+ - logs
+ - project.refs
+
build-gnome-core-x86_64:
image: buildstream/buildstream-fedora:master-113-499df6a5
<<: *build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]