[gnome-build-meta/staging-3-30: 2/6] .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/staging-3-30: 2/6] .gitlab-ci.yml: push the flatpak runtimes even if building the rest fails
- Date: Sat, 22 Sep 2018 10:13:38 +0000 (UTC)
commit b5f85d6883e597503c7ec25050c13ca6ca1827df
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 6623ab7..9c4641c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ variables:
FLATPAK_SERVER_ADDRESS: 'gbm.gnome.org'
stages:
+ - flatpak
- build
@@ -86,11 +87,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
- |
@@ -124,6 +124,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]