2017-02-20 18:51:38 +08:00
|
|
|
language: c
|
2017-06-03 02:56:24 +08:00
|
|
|
git:
|
|
|
|
submodules: false
|
2017-02-20 18:51:38 +08:00
|
|
|
env:
|
2017-06-03 02:56:22 +08:00
|
|
|
global:
|
|
|
|
- LC_ALL=C
|
2017-02-20 18:51:38 +08:00
|
|
|
matrix:
|
2017-07-18 08:31:47 +08:00
|
|
|
- IMAGE=debian-amd64
|
|
|
|
TARGET_LIST=x86_64-softmmu,x86_64-linux-user
|
2017-07-18 08:31:45 +08:00
|
|
|
- IMAGE=debian-armel-cross
|
|
|
|
TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user
|
2017-02-20 18:51:38 +08:00
|
|
|
- IMAGE=debian-armhf-cross
|
2017-06-03 02:56:26 +08:00
|
|
|
TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user
|
2017-02-20 18:51:38 +08:00
|
|
|
- IMAGE=debian-arm64-cross
|
|
|
|
TARGET_LIST=aarch64-softmmu,aarch64-linux-user
|
2017-02-27 22:30:28 +08:00
|
|
|
- IMAGE=debian-s390x-cross
|
|
|
|
TARGET_LIST=s390x-softmmu,s390x-linux-user
|
2017-06-03 02:56:28 +08:00
|
|
|
# mips64el-softmmu disabled due to libfdt problem
|
|
|
|
- IMAGE=debian-mipsel-cross
|
|
|
|
TARGET_LIST=mipsel-softmmu,mipsel-linux-user,mips64el-linux-user
|
2017-07-18 08:31:46 +08:00
|
|
|
- IMAGE=debian-ppc64el-cross
|
|
|
|
TARGET_LIST=ppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user
|
2017-02-20 18:51:38 +08:00
|
|
|
build:
|
|
|
|
pre_ci:
|
2017-06-03 02:56:25 +08:00
|
|
|
- make docker-image-${IMAGE} V=1
|
2017-02-20 18:51:38 +08:00
|
|
|
pre_ci_boot:
|
|
|
|
image_name: qemu
|
|
|
|
image_tag: ${IMAGE}
|
|
|
|
pull: false
|
|
|
|
options: "-e HOME=/root"
|
|
|
|
ci:
|
|
|
|
- unset CC
|
2017-06-03 02:56:24 +08:00
|
|
|
# some targets require newer up to date packages, for example TARGET_LIST matching
|
|
|
|
# aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64el-softmmu)
|
|
|
|
# see the configure script:
|
|
|
|
# error_exit "DTC (libfdt) version >= 1.4.2 not present. Your options:"
|
|
|
|
# " (1) Preferred: Install the DTC (libfdt) devel package"
|
|
|
|
# " (2) Fetch the DTC submodule, using:"
|
|
|
|
# " git submodule update --init dtc"
|
|
|
|
- dpkg --compare-versions `dpkg-query --showformat='${Version}' --show libfdt-dev` ge 1.4.2 || git submodule update --init dtc
|
2017-02-20 18:51:38 +08:00
|
|
|
- ./configure ${QEMU_CONFIGURE_OPTS} --target-list=${TARGET_LIST}
|
2017-06-03 02:56:23 +08:00
|
|
|
- make -j$(($(getconf _NPROCESSORS_ONLN) + 1))
|