summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml14
1 files 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