forked from richfelker/musl-cross-make
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (37 loc) · 1.82 KB
/
.travis.yml
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
sudo: false
dist: trusty
language: c
env:
- GCCVER=9.2.0 TARGET=x86_64-linux-musl
- GCCVER=9.2.0 TARGET=i486-linux-musl
- GCCVER=9.2.0 TARGET=arm-linux-musleabi
- GCCVER=9.2.0 TARGET=arm-linux-musleabihf
- GCCVER=9.2.0 TARGET=aarch64-linux-musl
- GCCVER=9.2.0 TARGET=powerpc64le-linux-musl
- GCCVER=7.3.0 TARGET=x86_64-linux-musl
- GCCVER=7.3.0 TARGET=i486-linux-musl
- GCCVER=7.3.0 TARGET=arm-linux-musleabi
- GCCVER=7.3.0 TARGET=arm-linux-musleabihf
- GCCVER=7.3.0 TARGET=aarch64-linux-musl
- GCCVER=7.3.0 TARGET=powerpc64le-linux-musl
- GCCVER=6.4.0 TARGET=x86_64-linux-musl
- GCCVER=6.4.0 TARGET=i486-linux-musl
- GCCVER=6.4.0 TARGET=arm-linux-musleabi
- GCCVER=6.4.0 TARGET=arm-linux-musleabihf
- GCCVER=6.4.0 TARGET=aarch64-linux-musl
- GCCVER=6.4.0 TARGET=powerpc64le-linux-musl
install:
- mkdir -p tools/bin
- curl -R -L -o tools/github-release.tar.bz2 https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2
- curl -R -L -o tools/gcc-6.4.0.tar.xz https://github.com/just-containers/musl-cross-make/releases/download/v14/gcc-6.4.0-x86_64-linux-musl.tar.xz
- curl -R -L -o tools/travis-tools-linux.tar.xz https://github.com/jprjr/travis-tools/releases/download/1.0.0/travis-tools-linux.tar.xz
- tar xf tools/github-release.tar.bz2 -C tools/bin --strip-components=3
- tar xf tools/travis-tools-linux.tar.xz -C tools
- tar xf tools/gcc-6.4.0.tar.xz -C tools
- rm -f tools/github-release.tar.bz2 tools/travis-tools-linux.tar.xz tools/gcc-6.4.0.tar.xz
script:
- PATH="$(pwd)/tools/bin:$PATH" runlog -l /tmp/build-gcc-$GCCVER-$TARGET -- bash .build $TARGET $GCCVER 'COMMON_CONFIG += CC="x86_64-linux-musl-gcc -static --static" CXX="x86_64-linux-musl-g++ -static --static"'
after_failure:
- tail -n9999999 /tmp/build-gcc-*
after_success:
- ./.release