From 013e0e3016b3d92c27c23ccafbb6dd18a7c24bc2 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Thu, 22 Jun 2017 15:36:01 +0000 Subject: Enable automated testing for this branch --- .gitlab-ci.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..12ebce6a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,44 @@ +image: samthursfield/buildstream:0.1-20170627.1 + +before_script: + # Update to latest BuildStream commit + - cd ~/buildstream + - git remote update origin + - git reset --hard origin/master + - pip3 install . + - cd - + + # Work around https://github.com/fedora-cloud/docker-brew-fedora/issues/14 + - export LANG="C.UTF-8" + - export LC_ALL="C.UTF-8" + + # Store cache in the shared Docker volume + - export XDG_CACHE_HOME=/cache + +stages: + - build + +x86_64-native: + stage: build + script: + - bst --colors build gnu-toolchain.bst + +armv8b64-cross: + stage: build + script: + - bst --colors build --target-arch=armv8l64 gnu-toolchain/stage2.bst + +armv8l64-cross: + stage: build + script: + - bst --colors build --target-arch=armv8l64 gnu-toolchain/stage2.bst + +ppc64b-cross: + stage: build + script: + - bst --colors build --target-arch=ppc64b gnu-toolchain/stage2.bst + +ppc64l-cross: + stage: build + script: + - bst --colors build --target-arch=ppc64l gnu-toolchain/stage2.bst -- cgit v1.2.1