summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-06-22 15:36:01 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-07-07 11:47:00 +0000
commit013e0e3016b3d92c27c23ccafbb6dd18a7c24bc2 (patch)
treee76e707d54fac133d9a7798e6c3dc7ef4909680c
parent28dba2a2843bf6d5c16256a8e4df47ce18ec48f1 (diff)
downloaddefinitions-013e0e3016b3d92c27c23ccafbb6dd18a7c24bc2.tar.gz
Enable automated testing for this branch
-rw-r--r--.gitlab-ci.yml44
1 files changed, 44 insertions, 0 deletions
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