Message ID | 20201206185508.3545711-4-philmd@redhat.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | gitlab-ci: Add accelerator-specific Linux jobs | expand |
On 06/12/2020 19.55, Philippe Mathieu-Daudé wrote: > 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 We already have a job that tests with KVM enabled and TCG disabled in the main .gitlab-ci.yml file, the "build-tcg-disabled" job. So I don't quite see the point in adding yet another job that does pretty much the same? Did I miss something? Thomas
On 12/7/20 6:20 AM, Thomas Huth wrote: > On 06/12/2020 19.55, Philippe Mathieu-Daudé wrote: >> 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 > > We already have a job that tests with KVM enabled and TCG disabled in the > main .gitlab-ci.yml file, the "build-tcg-disabled" job. So I don't quite see > the point in adding yet another job that does pretty much the same? Did I > miss something? I missed it was x86-specific myself. > > Thomas >
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) ------------------------------------
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