Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2018-05-04' into staging
[qemu.git] / .shippable.yml
blob60f2ce92181588a69c8998c6b213a7bea770fdb7
1 language: c
2 git:
3    submodules: false
4 env:
5   global:
6     - LC_ALL=C
7   matrix:
8     - IMAGE=debian-amd64
9       TARGET_LIST=x86_64-softmmu,x86_64-linux-user
10     - IMAGE=debian-win32-cross
11       TARGET_LIST=arm-softmmu,i386-softmmu,lm32-softmmu
12     - IMAGE=debian-win64-cross
13       TARGET_LIST=aarch64-softmmu,sparc64-softmmu,x86_64-softmmu
14     - IMAGE=debian-armel-cross
15       TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user
16     - IMAGE=debian-armhf-cross
17       TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user
18     - IMAGE=debian-arm64-cross
19       TARGET_LIST=aarch64-softmmu,aarch64-linux-user
20     - IMAGE=debian-s390x-cross
21       TARGET_LIST=s390x-softmmu,s390x-linux-user
22     - IMAGE=debian-mips-cross
23       TARGET_LIST=mips-softmmu,mipsel-linux-user
24     - IMAGE=debian-mips64el-cross
25       TARGET_LIST=mips64el-softmmu,mips64el-linux-user
26     - IMAGE=debian-ppc64el-cross
27       TARGET_LIST=ppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user
28 build:
29   pre_ci:
30     - make docker-image-${IMAGE} V=1
31   pre_ci_boot:
32     image_name: qemu
33     image_tag: ${IMAGE}
34     pull: false
35     options: "-e HOME=/root"
36   ci:
37     - unset CC
38     # some targets require newer up to date packages, for example TARGET_LIST matching
39     # aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64el-softmmu)
40     # see the configure script:
41     #    error_exit "DTC (libfdt) version >= 1.4.2 not present. Your options:"
42     #    "  (1) Preferred: Install the DTC (libfdt) devel package"
43     #    "  (2) Fetch the DTC submodule, using:"
44     #    "      git submodule update --init dtc"
45     - dpkg --compare-versions `dpkg-query --showformat='${Version}' --show libfdt-dev` ge 1.4.2 || git submodule update --init dtc
46     - ./configure ${QEMU_CONFIGURE_OPTS} --target-list=${TARGET_LIST}
47     - make -j$(($(getconf _NPROCESSORS_ONLN) + 1))