From af78a2b1041831600eb0598e52613645c24ffcd4 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Fri, 7 Jul 2017 15:15:17 +0000 Subject: .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. --- .gitlab-ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14ecee82..f8d416a2 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 -- cgit v1.2.1