summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 4db6b2166a27888e4ef4729a1f1d07a5146208a0 (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
image: samthursfield/buildstream:0.1-20170621.1

before_script:
  # Needed until https://gitlab.com/BuildStream/buildstream/merge_requests/34
  # is merged.
  - cd ~/buildstream
  - git remote add fork https://gitlab.com/samthursfield/buildstream
  - git remote update fork
  - git reset --hard fork/sam/host-and-target-arch
  - pip3 install .
  - cd -

  # Diagnostics
  - mount
  - df -h

  # 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

build-build-system:
  stage: build
  script:
  - bst build --colors systems/build-system-content.bst