[gnome-build-meta/alatiera/push-master: 6/6] .gitlab-ci.yml: run bst track in a separate job
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/alatiera/push-master: 6/6] .gitlab-ci.yml: run bst track in a separate job
- Date: Thu, 27 Sep 2018 10:28:16 +0000 (UTC)
commit a4363d15004e5360b10d0a1ab18c8600336865a2
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Thu Sep 27 11:25:12 2018 +0100
.gitlab-ci.yml: run bst track in a separate job
This ensures the builds for different architectures use the same versions
and avoid doing the work more than once.
.gitlab-ci.yml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d612051..486d572 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,7 @@ variables:
FLATPAK_BRANCH: master
stages:
+ - track
- build
@@ -89,7 +90,7 @@ before_script:
stage: build
dependencies: []
script:
- - ${BST} -o arch "${ARCH}" build --track-all core.bst flatpak-runtimes.bst
+ - ${BST} -o arch "${ARCH}" build core.bst flatpak-runtimes.bst
# checkout the runtimes
- |
@@ -123,6 +124,20 @@ before_script:
- logs
- project.refs
+track:
+ image: buildstream/buildstream-fedora:master-113-499df6a5
+ stage: track
+ script:
+ - ${BST} -o arch "${ARCH}" track --deps all core.bst flatpak-runtimes.bst
+
+ # Store all the downloaded sources in the distributed cache, so that later
+ # jobs don't need to redownload them.
+ cache:
+ key: bst
+ paths:
+ - "${XDG_CACHE_HOME}/buildstream/sources/"
+
+
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]