mirror of
https://github.com/qemu/qemu.git
synced 2024-12-15 07:23:52 +08:00
bc4486fb23
Most developers are using out-of-tree builds and it was discussed in the past to only allow those. To prepare for the transition, use out-of-tree builds in all continuous integration jobs. Based on a patch by Marc-André Lureau. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Li-Wen Hsu <lwhsu@freebsd.org> Message-Id: <1576074829-56711-1-git-send-email-pbonzini@redhat.com>
42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
language: c
|
|
git:
|
|
submodules: false
|
|
env:
|
|
global:
|
|
- LC_ALL=C
|
|
matrix:
|
|
- IMAGE=debian-amd64
|
|
TARGET_LIST=x86_64-softmmu,x86_64-linux-user
|
|
- IMAGE=debian-win32-cross
|
|
TARGET_LIST=arm-softmmu,i386-softmmu,lm32-softmmu
|
|
- IMAGE=debian-win64-cross
|
|
TARGET_LIST=aarch64-softmmu,sparc64-softmmu,x86_64-softmmu
|
|
- IMAGE=debian-armel-cross
|
|
TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user
|
|
- IMAGE=debian-armhf-cross
|
|
TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user
|
|
- IMAGE=debian-arm64-cross
|
|
TARGET_LIST=aarch64-softmmu,aarch64-linux-user
|
|
- IMAGE=debian-s390x-cross
|
|
TARGET_LIST=s390x-softmmu,s390x-linux-user
|
|
- IMAGE=debian-mips-cross
|
|
TARGET_LIST=mips-softmmu,mipsel-linux-user
|
|
- IMAGE=debian-mips64el-cross
|
|
TARGET_LIST=mips64el-softmmu,mips64el-linux-user
|
|
- IMAGE=debian-ppc64el-cross
|
|
TARGET_LIST=ppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user
|
|
build:
|
|
pre_ci:
|
|
- make docker-image-${IMAGE} V=1
|
|
pre_ci_boot:
|
|
image_name: qemu
|
|
image_tag: ${IMAGE}
|
|
pull: false
|
|
options: "-e HOME=/root"
|
|
ci:
|
|
- unset CC
|
|
- mkdir build
|
|
- cd build
|
|
- ../configure ${QEMU_CONFIGURE_OPTS} --target-list=${TARGET_LIST}
|
|
- make -j$(($(getconf _NPROCESSORS_ONLN) + 1))
|