summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: d7ff422543ab8a7d7670105c353b6e95c2fb09c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
image: samthursfield/buildstream:0.1-20170627.1

cache:
  paths:
    - cache/buildstream/sources/

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 project directory
  - mkdir -p "$(pwd)/cache"
  - export XDG_CACHE_HOME="$(pwd)/cache"


# 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