2020-12-07 16:15:00 +03:00
|
|
|
.cross_system_build_job:
|
2020-07-31 09:38:23 +03:00
|
|
|
stage: build
|
|
|
|
image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
|
2020-09-25 18:40:26 +03:00
|
|
|
timeout: 80m
|
2020-07-31 09:38:23 +03:00
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- PKG_CONFIG_PATH=$PKG_CONFIG_PATH
|
|
|
|
../configure --enable-werror $QEMU_CONFIGURE_OPTS --disable-user
|
2020-12-10 22:04:11 +03:00
|
|
|
--target-list-exclude="arm-softmmu cris-softmmu i386-softmmu
|
|
|
|
microblaze-softmmu mips-softmmu mipsel-softmmu mips64-softmmu
|
|
|
|
ppc-softmmu sh4-softmmu xtensa-softmmu"
|
2020-12-15 11:34:51 +03:00
|
|
|
- make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS
|
2020-07-31 09:38:23 +03:00
|
|
|
|
2020-12-07 16:15:01 +03:00
|
|
|
# Job to cross-build specific accelerators.
|
|
|
|
#
|
|
|
|
# Set the $ACCEL variable to select the specific accelerator (default to
|
|
|
|
# KVM), and set extra options (such disabling other accelerators) via the
|
|
|
|
# $ACCEL_CONFIGURE_OPTS variable.
|
|
|
|
.cross_accel_build_job:
|
|
|
|
stage: build
|
|
|
|
image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
|
|
|
|
timeout: 30m
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- PKG_CONFIG_PATH=$PKG_CONFIG_PATH
|
|
|
|
../configure --enable-werror $QEMU_CONFIGURE_OPTS --disable-tools
|
|
|
|
--enable-${ACCEL:-kvm} $ACCEL_CONFIGURE_OPTS
|
|
|
|
- make -j$(expr $(nproc) + 1) all check-build
|
|
|
|
|
2020-12-07 16:15:00 +03:00
|
|
|
.cross_user_build_job:
|
2020-07-31 09:38:23 +03:00
|
|
|
stage: build
|
|
|
|
image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- PKG_CONFIG_PATH=$PKG_CONFIG_PATH
|
|
|
|
../configure --enable-werror $QEMU_CONFIGURE_OPTS --disable-system
|
2020-12-15 11:34:51 +03:00
|
|
|
- make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS
|
2020-07-31 09:38:23 +03:00
|
|
|
|
|
|
|
cross-armel-system:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_system_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-armel-cross
|
|
|
|
|
|
|
|
cross-armel-user:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_user_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-armel-cross
|
|
|
|
|
|
|
|
cross-armhf-system:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_system_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-armhf-cross
|
|
|
|
|
|
|
|
cross-armhf-user:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_user_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-armhf-cross
|
|
|
|
|
|
|
|
cross-arm64-system:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_system_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-arm64-cross
|
|
|
|
|
|
|
|
cross-arm64-user:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_user_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-arm64-cross
|
|
|
|
|
2020-12-15 11:34:51 +03:00
|
|
|
cross-i386-system:
|
|
|
|
extends: .cross_system_build_job
|
|
|
|
variables:
|
|
|
|
IMAGE: fedora-i386-cross
|
|
|
|
MAKE_CHECK_ARGS: check-qtest
|
|
|
|
|
|
|
|
cross-i386-user:
|
|
|
|
extends: .cross_user_build_job
|
|
|
|
variables:
|
|
|
|
IMAGE: fedora-i386-cross
|
|
|
|
MAKE_CHECK_ARGS: check
|
|
|
|
|
2020-07-31 09:38:23 +03:00
|
|
|
cross-mips-system:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_system_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-mips-cross
|
|
|
|
|
|
|
|
cross-mips-user:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_user_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-mips-cross
|
|
|
|
|
|
|
|
cross-mipsel-system:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_system_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-mipsel-cross
|
|
|
|
|
|
|
|
cross-mipsel-user:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_user_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-mipsel-cross
|
|
|
|
|
|
|
|
cross-mips64el-system:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_system_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-mips64el-cross
|
|
|
|
|
|
|
|
cross-mips64el-user:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_user_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-mips64el-cross
|
|
|
|
|
|
|
|
cross-ppc64el-system:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_system_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-ppc64el-cross
|
|
|
|
|
|
|
|
cross-ppc64el-user:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_user_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-ppc64el-cross
|
|
|
|
|
|
|
|
cross-s390x-system:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_system_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-s390x-cross
|
|
|
|
|
|
|
|
cross-s390x-user:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_user_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
|
|
|
IMAGE: debian-s390x-cross
|
|
|
|
|
2020-12-07 16:15:02 +03:00
|
|
|
cross-s390x-kvm-only:
|
|
|
|
extends: .cross_accel_build_job
|
|
|
|
variables:
|
|
|
|
IMAGE: debian-s390x-cross
|
|
|
|
ACCEL_CONFIGURE_OPTS: --disable-tcg
|
|
|
|
|
2020-07-31 09:38:23 +03:00
|
|
|
cross-win32-system:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_system_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
2020-09-25 18:40:21 +03:00
|
|
|
IMAGE: fedora-win32-cross
|
2020-07-31 09:38:23 +03:00
|
|
|
|
|
|
|
cross-win64-system:
|
2020-12-07 16:15:00 +03:00
|
|
|
extends: .cross_system_build_job
|
2020-07-31 09:38:23 +03:00
|
|
|
variables:
|
2020-09-25 18:40:21 +03:00
|
|
|
IMAGE: fedora-win64-cross
|
2020-12-07 16:15:03 +03:00
|
|
|
|
|
|
|
cross-amd64-xen-only:
|
|
|
|
extends: .cross_accel_build_job
|
|
|
|
variables:
|
|
|
|
IMAGE: debian-amd64-cross
|
|
|
|
ACCEL: xen
|
|
|
|
ACCEL_CONFIGURE_OPTS: --disable-tcg --disable-kvm
|
|
|
|
|
|
|
|
cross-arm64-xen-only:
|
|
|
|
extends: .cross_accel_build_job
|
|
|
|
variables:
|
|
|
|
IMAGE: debian-arm64-cross
|
|
|
|
ACCEL: xen
|
|
|
|
ACCEL_CONFIGURE_OPTS: --disable-tcg --disable-kvm
|