Skip to contentSkip to conversation

gitlab-ci: Add KVM x86 cross-build jobs

PATCH In review Philippe Mathieu-Daudé 2 participants 4 messages May 12, 2021

lore
Share & tools
lore
#0 lore raw

cover gitlab-ci: Add KVM x86 cross-build jobs

Add a job to avoid breaking x86 KVM-only builds (the feature recently added by Claudio):
https://gitlab.com/philmd/qemu/-/jobs/1255115665

Paolo, (assuming Thomas Acks the patch), could you queue it on top of your current pull request?

Based-on: <[email protected]>
https://gitlab.com/bonzini/qemu.git tags/for-upstream

Philippe Mathieu-Daudé (1):
gitlab-ci: Add KVM x86 cross-build jobs

 .gitlab-ci.d/crossbuilds.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
Signature · 1 line
2.26.3
#1 lore raw

PATCH 1/1 gitlab-ci: Add KVM x86 cross-build jobs

Add a new job to cross-build the x86 target without the TCG/XEN accelerators (IOW: only KVM accelerator enabled).

---
 .gitlab-ci.d/crossbuilds.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
.gitlab-ci.d/crossbuilds.yml +8 -0
index e44e4b49a25..a8eac2cddba 100644
@@ -198,6 +198,14 @@ cross-win64-system:
   variables:
     IMAGE: fedora-win64-cross
 
+cross-i386-kvm-only:
+  extends: .cross_accel_build_job
+  needs:
+    job: i386-fedora-cross-container
+  variables:
+    IMAGE: fedora-i386-cross
+    ACCEL_CONFIGURE_OPTS: --disable-tcg --disable-xen
+
 cross-amd64-xen-only:
   extends: .cross_accel_build_job
   needs:
Signature · 1 line
2.26.3
#2 lore raw
Quoted 13 lines · Philippe Mathieu-Daudé

Add a new job to cross-build the x86 target without the TCG/XEN accelerators (IOW: only KVM accelerator enabled).

---
  .gitlab-ci.d/crossbuilds.yml | 8 ++++++++
  1 file changed, 8 insertions(+)
.gitlab-ci.d/crossbuilds.yml +0 -0
index e44e4b49a25..a8eac2cddba 100644

.gitlab-ci.d/crossbuilds.yml cross-win64-system: · line 207

Quoted 10 lines
.gitlab-ci.d/crossbuilds.yml +7 -0
@@ -198,6 +198,14 @@ cross-win64-system:
    variables:
      IMAGE: fedora-win64-cross
 
+cross-i386-kvm-only:
+  extends: .cross_accel_build_job
+  needs:
+    job: i386-fedora-cross-container
+  variables:
+    IMAGE: fedora-i386-cross
+    ACCEL_CONFIGURE_OPTS: --disable-tcg --disable-xen

We already have build-tcg-disabled in the main .gitlab-ci.yml file ... so I fail to see what additional test coverage we get by this job?

Thomas

#3 lore raw
Quoted 18 lines · Thomas Huth
Quoted 17 lines · Philippe Mathieu-Daudé

Add a new job to cross-build the x86 target without the TCG/XEN accelerators (IOW: only KVM accelerator enabled).

---
  .gitlab-ci.d/crossbuilds.yml | 8 ++++++++

  1 file changed, 8 insertions(+)
.gitlab-ci.d/crossbuilds.yml +0 -0
index e44e4b49a25..a8eac2cddba 100644
@@ -198,6 +198,14 @@ cross-win64-system:

    variables:
      IMAGE: fedora-win64-cross
  +cross-i386-kvm-only:
+  extends: .cross_accel_build_job

Quoted 8 lines
Quoted 5 lines

+  needs:
+    job: i386-fedora-cross-container
+  variables:
+    IMAGE: fedora-i386-cross
+    ACCEL_CONFIGURE_OPTS: --disable-tcg --disable-xen

We already have build-tcg-disabled in the main .gitlab-ci.yml file ... so I fail to see what additional test coverage we get by this job?

Doh I missed build-tcg-disabled was the x86 job, sorry.

Please disregard this patch!