gitlab-ci: Check building ppc64 without TCG
authorThomas Huth <thuth@redhat.com>
Thu, 8 Dec 2022 10:15:27 +0000 (11:15 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 15 Dec 2022 14:19:24 +0000 (15:19 +0100)
Building QEMU for ppc64 hosts with --disable-tcg used to break a couple
of times in the past, see e.g. commit a01b64cee7 ("target/ppc: Put do_rfi
under a TCG-only block") or commit 049b4ad669 ("target/ppc: Fix build
warnings when building with 'disable-tcg'"), so we should test this in
our CI to avoid such regressions.

Message-Id: <20221208101527.36873-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/crossbuilds.yml

index c4cd96433d435f3de4d64ef4a3cc9fba9b4bca7f..8dbbb8f881986453ffe04240817711e76cc6982f 100644 (file)
@@ -112,6 +112,14 @@ cross-ppc64el-user:
   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.