summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml26
1 files changed, 24 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5a9e1c9b..77fc8232 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -46,9 +46,31 @@ before_script:
cat ~/.config/buildstream.conf
stages:
- - build
+ - build-system
+ - cross-sysroot
build-build-system:
- stage: build
+ stage: build-system
script:
- bst --colors build systems/build-system-content.bst
+
+# Tests cross building a toolchain and sysroot for each supported non-x86_64 architecture.
+build-sysroot-armv8b64:
+ stage: cross-sysroot
+ script:
+ - bst --colors --target-arch=armv8b64 build gnu-toolchain/stage2.bst
+
+build-sysroot-armv8l64:
+ stage: cross-sysroot
+ script:
+ - bst --colors --target-arch=armv8l64 build gnu-toolchain/stage2.bst
+
+build-sysroot-ppc64b:
+ stage: cross-sysroot
+ script:
+ - bst --colors --target-arch=ppc64b build gnu-toolchain/stage2.bst
+
+build-sysroot-ppc64l:
+ stage: cross-sysroot
+ script:
+ - bst --colors --target-arch=ppc64l build gnu-toolchain/stage2.bst