From b4020b4bbe1751957f641c310e094fe9b154b6f4 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Fri, 14 Jul 2017 15:50:34 +0000 Subject: .gitlab-ci.yml: Build cross sysroots --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++-- 1 file 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 -- cgit v1.2.1