summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-07-07 15:15:17 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-07-07 15:16:27 (GMT)
commitaf78a2b1041831600eb0598e52613645c24ffcd4 (patch)
tree001d315701f5a6374a622b3eb73a167d98a9f324
parent387d00648ca64eaec5343cb748f0cbc163d8df12 (diff)
downloaddefinitions-af78a2b1041831600eb0598e52613645c24ffcd4.tar.gz
.gitlab-ci.yml: Separate fetch into a separate stage
This is primarly to avoid hitting the 1 hour timeout that seems to be hardcoded into the CI system. It's also a bit clearer this way.
-rw-r--r--.gitlab-ci.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 14ecee8..f8d416a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,16 +20,18 @@ before_script:
- mkdir -p "$(pwd)/cache"
- export XDG_CACHE_HOME="$(pwd)/cache"
-# All of the builds use the same set of sources. The first stage should contain
-# only one job so that, in the case where the source cache is empty, we only
-# have a single job pulling all the sources rather than 5 pulling the same things
-# in parallel.
stages:
- - simple
+ - fetch
+ - native
- cross
+fetch:
+ stage: fetch
+ script:
+ - bst --colors fetch gnu-toolchain.bst
+
x86_64-native:
- stage: simple
+ stage: native
script:
- bst --colors build gnu-toolchain.bst