blob: dd4bbc84b1ea15545d18e4a9c63aa84e95b90da8 [file] [log] [blame]
Alex Bennéed92d8862017-02-20 10:51:38 +00001language: c
Philippe Mathieu-Daudéa825ca02017-06-02 15:56:24 -03002git:
3 submodules: false
Alex Bennéed92d8862017-02-20 10:51:38 +00004env:
Philippe Mathieu-Daudéc34647c2017-06-02 15:56:22 -03005 global:
6 - LC_ALL=C
Alex Bennéed92d8862017-02-20 10:51:38 +00007 matrix:
Philippe Mathieu-Daudé9d3aa1a2017-07-17 21:31:47 -03008 - IMAGE=debian-amd64
9 TARGET_LIST=x86_64-softmmu,x86_64-linux-user
Philippe Mathieu-Daudé89bec112017-07-17 23:47:10 -030010 - 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
Philippe Mathieu-Daudédca688c2017-07-17 21:31:45 -030014 - IMAGE=debian-armel-cross
15 TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user
Alex Bennéed92d8862017-02-20 10:51:38 +000016 - IMAGE=debian-armhf-cross
Philippe Mathieu-Daudé492734b2017-06-02 15:56:26 -030017 TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user
Alex Bennéed92d8862017-02-20 10:51:38 +000018 - IMAGE=debian-arm64-cross
19 TARGET_LIST=aarch64-softmmu,aarch64-linux-user
Alex Bennée1ed92512017-02-27 14:30:28 +000020 - IMAGE=debian-s390x-cross
21 TARGET_LIST=s390x-softmmu,s390x-linux-user
Philippe Mathieu-Daudé12149702017-07-17 21:31:54 -030022 - IMAGE=debian-mips-cross
23 TARGET_LIST=mips-softmmu,mipsel-linux-user
Philippe Mathieu-Daudé67f5b282017-07-17 21:31:56 -030024 - IMAGE=debian-mips64el-cross
25 TARGET_LIST=mips64el-softmmu,mips64el-linux-user
Philippe Mathieu-Daudé9fa82d22017-07-17 21:31:52 -030026 - IMAGE=debian-powerpc-cross
27 TARGET_LIST=ppc-softmmu,ppcemb-softmmu,ppc-linux-user
Philippe Mathieu-Daudé41a0b1e2017-07-17 21:31:46 -030028 - IMAGE=debian-ppc64el-cross
29 TARGET_LIST=ppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user
Alex Bennéed92d8862017-02-20 10:51:38 +000030build:
31 pre_ci:
Philippe Mathieu-Daudéd2a44862017-06-02 15:56:25 -030032 - make docker-image-${IMAGE} V=1
Alex Bennéed92d8862017-02-20 10:51:38 +000033 pre_ci_boot:
34 image_name: qemu
35 image_tag: ${IMAGE}
36 pull: false
37 options: "-e HOME=/root"
38 ci:
39 - unset CC
Philippe Mathieu-Daudéa825ca02017-06-02 15:56:24 -030040 # some targets require newer up to date packages, for example TARGET_LIST matching
41 # aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64el-softmmu)
42 # see the configure script:
43 # error_exit "DTC (libfdt) version >= 1.4.2 not present. Your options:"
44 # " (1) Preferred: Install the DTC (libfdt) devel package"
45 # " (2) Fetch the DTC submodule, using:"
46 # " git submodule update --init dtc"
47 - dpkg --compare-versions `dpkg-query --showformat='${Version}' --show libfdt-dev` ge 1.4.2 || git submodule update --init dtc
Alex Bennéed92d8862017-02-20 10:51:38 +000048 - ./configure ${QEMU_CONFIGURE_OPTS} --target-list=${TARGET_LIST}
Philippe Mathieu-Daudéa08fc2f2017-06-02 15:56:23 -030049 - make -j$(($(getconf _NPROCESSORS_ONLN) + 1))