* [PATCH v2] gitlab-ci: Check building KVM-only aarch64 target
@ 2023-01-20 8:25 Philippe Mathieu-Daudé
2023-01-20 8:29 ` Thomas Huth
0 siblings, 1 reply; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-01-20 8:25 UTC (permalink / raw)
To: qemu-devel
Cc: qemu-arm, Alex Bennée, Fabiano Rosas,
Wainer dos Santos Moschetta, Beraldo Leal, Thomas Huth,
Philippe Mathieu-Daudé
Add a manual new job to cross-build the aarch64 target with
only the KVM accelerator enabled (in particular, no TCG).
Re-enable running the similar job on the project Aarch64
custom runner.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
Based-on: <20230118193518.26433-1-farosas@suse.de>
target/arm: CONFIG_TCG=n part 1
Successful job:
https://gitlab.com/philmd/qemu/-/jobs/3630178191
Duration: 15 minutes 25 seconds
Since v1:
- mark job as manual (Alex)
- re-enable on custom runner
---
.gitlab-ci.d/crossbuilds.yml | 11 +++++++++++
.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml | 4 ----
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/.gitlab-ci.d/crossbuilds.yml b/.gitlab-ci.d/crossbuilds.yml
index 8dbbb8f881..2d47a5dec3 100644
--- a/.gitlab-ci.d/crossbuilds.yml
+++ b/.gitlab-ci.d/crossbuilds.yml
@@ -210,3 +210,14 @@ cross-arm64-xen-only:
IMAGE: debian-arm64-cross
ACCEL: xen
EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
+
+# Similar job is run by qemu-project's custom runner by default
+cross-arm64-kvm-only:
+ extends: .cross_accel_build_job
+ needs:
+ job: arm64-debian-cross-container
+ variables:
+ QEMU_JOB_OPTIONAL: 1
+ IMAGE: debian-arm64-cross
+ ACCEL: kvm
+ EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-xen --without-default-devices
diff --git a/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
index abeb33eaff..40ed011f29 100644
--- a/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
+++ b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
@@ -115,11 +115,7 @@ ubuntu-22.04-aarch64-notcg:
- aarch64
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
- when: manual
- allow_failure: true
- if: "$AARCH64_RUNNER_AVAILABLE"
- when: manual
- allow_failure: true
script:
- mkdir build
- cd build
--
2.38.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] gitlab-ci: Check building KVM-only aarch64 target
2023-01-20 8:25 [PATCH v2] gitlab-ci: Check building KVM-only aarch64 target Philippe Mathieu-Daudé
@ 2023-01-20 8:29 ` Thomas Huth
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Huth @ 2023-01-20 8:29 UTC (permalink / raw)
To: Philippe Mathieu-Daudé, qemu-devel, Alex Bennée
Cc: qemu-arm, Fabiano Rosas, Wainer dos Santos Moschetta,
Beraldo Leal
On 20/01/2023 09.25, Philippe Mathieu-Daudé wrote:
> Add a manual new job to cross-build the aarch64 target with
> only the KVM accelerator enabled (in particular, no TCG).
>
> Re-enable running the similar job on the project Aarch64
> custom runner.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> Based-on: <20230118193518.26433-1-farosas@suse.de>
> target/arm: CONFIG_TCG=n part 1
>
> Successful job:
> https://gitlab.com/philmd/qemu/-/jobs/3630178191
> Duration: 15 minutes 25 seconds
>
> Since v1:
> - mark job as manual (Alex)
> - re-enable on custom runner
> ---
> .gitlab-ci.d/crossbuilds.yml | 11 +++++++++++
> .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml | 4 ----
> 2 files changed, 11 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-20 8:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-20 8:25 [PATCH v2] gitlab-ci: Check building KVM-only aarch64 target Philippe Mathieu-Daudé
2023-01-20 8:29 ` Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).