On 19/1/23 16:56, Philippe Mathieu-Daudé wrote:
gitlab-ci: Add KVM-only aarch64 cross-build job
Add a new job to cross-build the aarch64 target with
only the KVM accelerator enabled (in particular, no TCG).
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
Based-on: <20230118193518.26433-1-faro...@suse.de>
target/arm: CONFIG_TCG=n part 1
Successful job:
https://gitlab.com/philmd/qemu/-/jobs/3630178191
Duration: 15 minutes 25 seconds
Alternatively we could move it to the custom aarch64 runner
in the qemu-project namespace...
---
.gitlab-ci.d/crossbuilds.yml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.gitlab-ci.d/crossbuilds.yml b/.gitlab-ci.d/crossbuilds.yml
index 8dbbb8f881..fc78d36b31 100644
--- a/.gitlab-ci.d/crossbuilds.yml
+++ b/.gitlab-ci.d/crossbuilds.yml
@@ -210,3 +210,12 @@ cross-arm64-xen-only:
IMAGE: debian-arm64-cross
ACCEL: xen
EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
+
+cross-arm64-kvm-only:
+ extends: .cross_accel_build_job
+ needs:
+ job: arm64-debian-cross-container
+ variables:
+ IMAGE: debian-arm64-cross
+ ACCEL: kvm
+ EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-xen --without-default-devices