forked from projectacrn/acrn-unit-test
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
48 lines (47 loc) · 1.34 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
44
45
46
47
48
sudo: false
dist: trusty
language: c
compiler:
- gcc
cache: ccache
addons:
apt:
packages:
# Cross Toolchains
- gcc-arm-linux-gnueabihf
- gcc-aarch64-linux-gnu
- gcc-powerpc64le-linux-gnu
- gcc-s390x-linux-gnu
# Run dependencies
- qemu-system
git:
submodules: false
env:
matrix:
- CONFIG=""
BUILD_DIR="."
- CONFIG=""
BUILD_DIR="x86-builddir"
- CONFIG="--arch=arm --cross-prefix=arm-linux-gnueabihf-"
BUILD_DIR="."
- CONFIG="--arch=arm --cross-prefix=arm-linux-gnueabihf-"
BUILD_DIR="arm-buildir"
- CONFIG="--arch=arm64 --cross-prefix=aarch64-linux-gnu-"
BUILD_DIR="."
- CONFIG="--arch=arm64 --cross-prefix=aarch64-linux-gnu-"
BUILD_DIR="arm64-buildir"
- CONFIG="--arch=ppc64 --endian=little --cross-prefix=powerpc64le-linux-gnu-"
BUILD_DIR="."
- CONFIG="--arch=ppc64 --endian=little --cross-prefix=powerpc64le-linux-gnu-"
BUILD_DIR="ppc64le-buildir"
- CONFIG="--arch=s390x --cross-prefix=s390x-linux-gnu-"
BUILD_DIR="."
- CONFIG="--arch=s390x --cross-prefix=s390x-linux-gnu-"
BUILD_DIR="s390x-builddir"
before_script:
- mkdir -p $BUILD_DIR && cd $BUILD_DIR
- if [ -e ./configure ]; then ./configure $CONFIG ; fi
- if [ -e ../configure ]; then ../configure $CONFIG ; fi
script:
- make -j3
- ./run_tests.sh || true