1ea5e0b05e
We do run tests on some cross builds. Provide a template to ensure we export the testlog to the build artefacts and report the test results via the junit. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reported-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230228190653.1602033-13-alex.bennee@linaro.org>
223 lines
5.3 KiB
YAML
223 lines
5.3 KiB
YAML
include:
|
|
- local: '/.gitlab-ci.d/crossbuild-template.yml'
|
|
|
|
cross-armel-system:
|
|
extends: .cross_system_build_job
|
|
needs:
|
|
job: armel-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-armel-cross
|
|
|
|
cross-armel-user:
|
|
extends: .cross_user_build_job
|
|
needs:
|
|
job: armel-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-armel-cross
|
|
|
|
cross-armhf-system:
|
|
extends: .cross_system_build_job
|
|
needs:
|
|
job: armhf-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-armhf-cross
|
|
|
|
cross-armhf-user:
|
|
extends: .cross_user_build_job
|
|
needs:
|
|
job: armhf-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-armhf-cross
|
|
|
|
cross-arm64-system:
|
|
extends: .cross_system_build_job
|
|
needs:
|
|
job: arm64-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-arm64-cross
|
|
|
|
cross-arm64-user:
|
|
extends: .cross_user_build_job
|
|
needs:
|
|
job: arm64-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-arm64-cross
|
|
|
|
cross-i386-system:
|
|
extends:
|
|
- .cross_system_build_job
|
|
- .cross_test_artifacts
|
|
needs:
|
|
job: i386-fedora-cross-container
|
|
variables:
|
|
IMAGE: fedora-i386-cross
|
|
MAKE_CHECK_ARGS: check-qtest
|
|
|
|
cross-i386-user:
|
|
extends:
|
|
- .cross_user_build_job
|
|
- .cross_test_artifacts
|
|
needs:
|
|
job: i386-fedora-cross-container
|
|
variables:
|
|
IMAGE: fedora-i386-cross
|
|
MAKE_CHECK_ARGS: check
|
|
|
|
cross-i386-tci:
|
|
extends:
|
|
- .cross_accel_build_job
|
|
- .cross_test_artifacts
|
|
timeout: 60m
|
|
needs:
|
|
job: i386-fedora-cross-container
|
|
variables:
|
|
IMAGE: fedora-i386-cross
|
|
ACCEL: tcg-interpreter
|
|
EXTRA_CONFIGURE_OPTS: --target-list=i386-softmmu,i386-linux-user,aarch64-softmmu,aarch64-linux-user,ppc-softmmu,ppc-linux-user
|
|
MAKE_CHECK_ARGS: check check-tcg
|
|
|
|
cross-mipsel-system:
|
|
extends: .cross_system_build_job
|
|
needs:
|
|
job: mipsel-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-mipsel-cross
|
|
|
|
cross-mipsel-user:
|
|
extends: .cross_user_build_job
|
|
needs:
|
|
job: mipsel-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-mipsel-cross
|
|
|
|
cross-mips64el-system:
|
|
extends: .cross_system_build_job
|
|
needs:
|
|
job: mips64el-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-mips64el-cross
|
|
|
|
cross-mips64el-user:
|
|
extends: .cross_user_build_job
|
|
needs:
|
|
job: mips64el-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-mips64el-cross
|
|
|
|
cross-ppc64el-system:
|
|
extends: .cross_system_build_job
|
|
needs:
|
|
job: ppc64el-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-ppc64el-cross
|
|
|
|
cross-ppc64el-user:
|
|
extends: .cross_user_build_job
|
|
needs:
|
|
job: ppc64el-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-ppc64el-cross
|
|
|
|
cross-ppc64el-kvm-only:
|
|
extends: .cross_accel_build_job
|
|
needs:
|
|
job: ppc64el-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-ppc64el-cross
|
|
EXTRA_CONFIGURE_OPTS: --disable-tcg --without-default-devices
|
|
|
|
# The riscv64 cross-builds currently use a 'sid' container to get
|
|
# compilers and libraries. Until something more stable is found we
|
|
# allow_failure so as not to block CI.
|
|
cross-riscv64-system:
|
|
extends: .cross_system_build_job
|
|
allow_failure: true
|
|
needs:
|
|
job: riscv64-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-riscv64-cross
|
|
|
|
cross-riscv64-user:
|
|
extends: .cross_user_build_job
|
|
allow_failure: true
|
|
needs:
|
|
job: riscv64-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-riscv64-cross
|
|
|
|
cross-s390x-system:
|
|
extends: .cross_system_build_job
|
|
needs:
|
|
job: s390x-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-s390x-cross
|
|
|
|
cross-s390x-user:
|
|
extends: .cross_user_build_job
|
|
needs:
|
|
job: s390x-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-s390x-cross
|
|
|
|
cross-s390x-kvm-only:
|
|
extends: .cross_accel_build_job
|
|
needs:
|
|
job: s390x-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-s390x-cross
|
|
EXTRA_CONFIGURE_OPTS: --disable-tcg --enable-trace-backends=ftrace
|
|
|
|
cross-mips64el-kvm-only:
|
|
extends: .cross_accel_build_job
|
|
needs:
|
|
job: mips64el-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-mips64el-cross
|
|
EXTRA_CONFIGURE_OPTS: --disable-tcg --target-list=mips64el-softmmu
|
|
|
|
cross-win32-system:
|
|
extends: .cross_system_build_job
|
|
needs:
|
|
job: win32-fedora-cross-container
|
|
variables:
|
|
IMAGE: fedora-win32-cross
|
|
EXTRA_CONFIGURE_OPTS: --enable-fdt=internal
|
|
CROSS_SKIP_TARGETS: alpha-softmmu avr-softmmu hppa-softmmu m68k-softmmu
|
|
microblazeel-softmmu mips64el-softmmu nios2-softmmu
|
|
artifacts:
|
|
paths:
|
|
- build/qemu-setup*.exe
|
|
|
|
cross-win64-system:
|
|
extends: .cross_system_build_job
|
|
needs:
|
|
job: win64-fedora-cross-container
|
|
variables:
|
|
IMAGE: fedora-win64-cross
|
|
EXTRA_CONFIGURE_OPTS: --enable-fdt=internal
|
|
CROSS_SKIP_TARGETS: alpha-softmmu avr-softmmu hppa-softmmu
|
|
m68k-softmmu microblazeel-softmmu nios2-softmmu
|
|
or1k-softmmu rx-softmmu sh4eb-softmmu sparc64-softmmu
|
|
tricore-softmmu xtensaeb-softmmu
|
|
artifacts:
|
|
paths:
|
|
- build/qemu-setup*.exe
|
|
|
|
cross-amd64-xen-only:
|
|
extends: .cross_accel_build_job
|
|
needs:
|
|
job: amd64-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-amd64-cross
|
|
ACCEL: xen
|
|
EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
|
|
|
|
cross-arm64-xen-only:
|
|
extends: .cross_accel_build_job
|
|
needs:
|
|
job: arm64-debian-cross-container
|
|
variables:
|
|
IMAGE: debian-arm64-cross
|
|
ACCEL: xen
|
|
EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
|