[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/8] gitlab-ci: Add KVM X86 cross-build jobs
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 3/8] gitlab-ci: Add KVM X86 cross-build jobs |
Date: |
Sun, 6 Dec 2020 19:55:03 +0100 |
Cross-build x86 target with only KVM accelerator enabled.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
.gitlab-ci.d/crossbuilds-kvm-x86.yml | 6 ++++++
.gitlab-ci.yml | 1 +
MAINTAINERS | 1 +
3 files changed, 8 insertions(+)
create mode 100644 .gitlab-ci.d/crossbuilds-kvm-x86.yml
diff --git a/.gitlab-ci.d/crossbuilds-kvm-x86.yml
b/.gitlab-ci.d/crossbuilds-kvm-x86.yml
new file mode 100644
index 00000000000..9719a19d143
--- /dev/null
+++ b/.gitlab-ci.d/crossbuilds-kvm-x86.yml
@@ -0,0 +1,6 @@
+cross-amd64-kvm:
+ extends: .cross_accel_build_job
+ variables:
+ IMAGE: debian-amd64-cross
+ TARGETS: i386-softmmu,x86_64-softmmu
+ ACCEL_CONFIGURE_OPTS: --disable-tcg
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d0173e82b16..cdfa1f82a3d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,7 @@ include:
- local: '/.gitlab-ci.d/opensbi.yml'
- local: '/.gitlab-ci.d/containers.yml'
- local: '/.gitlab-ci.d/crossbuilds.yml'
+ - local: '/.gitlab-ci.d/crossbuilds-kvm-x86.yml'
.native_build_job_template: &native_build_job_definition
stage: build
diff --git a/MAINTAINERS b/MAINTAINERS
index 68bc160f41b..8d7e2fdb7e2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -427,6 +427,7 @@ L: kvm@vger.kernel.org
S: Supported
F: target/i386/kvm.c
F: scripts/kvm/vmxcap
+F: .gitlab-ci.d/crossbuilds-kvm-x86.yml
Guest CPU Cores (other accelerators)
------------------------------------
--
2.26.2
- [PATCH 0/8] gitlab-ci: Add accelerator-specific Linux jobs, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 1/8] gitlab-ci: Replace YAML anchors by extends (cross_system_build_job), Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 2/8] gitlab-ci: Introduce 'cross_accel_build_job' template, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 3/8] gitlab-ci: Add KVM X86 cross-build jobs,
Philippe Mathieu-Daudé <=
- [PATCH 4/8] gitlab-ci: Add KVM ARM cross-build jobs, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 5/8] gitlab-ci: Add KVM s390x cross-build jobs, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 6/8] gitlab-ci: Add KVM PPC cross-build jobs, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 7/8] gitlab-ci: Add KVM MIPS cross-build jobs, Philippe Mathieu-Daudé, 2020/12/06