blob: 14ecee8270fa1336885aa9bed9a139007d783ed7 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
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"
# All of the builds use the same set of sources. The first stage should contain
# only one job so that, in the case where the source cache is empty, we only
# have a single job pulling all the sources rather than 5 pulling the same things
# in parallel.
stages:
- simple
- cross
x86_64-native:
stage: simple
script:
- bst --colors build gnu-toolchain.bst
armv8b64-cross:
stage: cross
script:
- bst --colors build --target-arch=armv8l64 gnu-toolchain/stage2.bst
armv8l64-cross:
stage: cross
script:
- bst --colors build --target-arch=armv8l64 gnu-toolchain/stage2.bst
ppc64b-cross:
stage: cross
script:
- bst --colors build --target-arch=ppc64b gnu-toolchain/stage2.bst
ppc64l-cross:
stage: cross
script:
- bst --colors build --target-arch=ppc64l gnu-toolchain/stage2.bst
|