summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2017-07-12 10:45:57 +0000
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2017-07-12 10:45:57 +0000
commit879a306c8c6285e9ef8dcbbba96bb84e62a9654c (patch)
treef3fb68930e733a87fdb0a675561a0d8bd00ca5b6 /.gitlab-ci.yml
parent4faa52372d4e9422346b15ef696fc8616196950d (diff)
parenta515e4f5fba4eb9d9a417025e62b90b185029d2a (diff)
downloaddefinitions-879a306c8c6285e9ef8dcbbba96bb84e62a9654c.tar.gz
Merge branch 'sam/gnu-toolchain-updates' into 'gnu-toolchain'
Update toolchain and allow cross-building See merge request !9
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..96f5d99a
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,22 @@
+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"
+
+# We are limited to simple CI unless we provide our own GitLab CI runners.
+stages:
+ - validate
+
+validate:
+ stage: validate
+ script:
+ - bst --colors show gnu-toolchain.bst