[PATCH] ci: add multi-target job

Pierrick Bouvier posted 1 patch 1 month, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260929183320.2960-1-pierrick.bouvier@oss.qualcomm.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
.gitlab-ci.d/buildtest.yml | 11 +++++++++++
1 file changed, 11 insertions(+)
[PATCH] ci: add multi-target job
Posted by Pierrick Bouvier 1 month, 3 weeks ago
This check ensures we don't bring regression for all targets that can be
linked together by building multi-target test. Also, running it ensure
all QOM types are unique.

All compatible targets are automatically detected, so they don't need to
be fed to ./configure.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
---
 .gitlab-ci.d/buildtest.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index a97cc0b20b8..b1e95395d0c 100644
--- a/.gitlab-ci.d/buildtest.yml
+++ b/.gitlab-ci.d/buildtest.yml
@@ -659,6 +659,17 @@ build-tci:
       done
     - make check-tcg
 
+multi-target:
+  extends: .native_build_job_template
+  needs:
+    - job: amd64-debian-container
+  variables:
+    IMAGE: debian
+  script:
+    - ./configure
+    - make -C build tests/unit/test-multi-target
+    - ./build/tests/unit/test-multi-target
+
 # Check our reduced build configurations
 build-without-defaults:
   extends: .native_build_job_template
-- 
2.43.0
Re: [PATCH] ci: add multi-target job
Posted by Pierrick Bouvier 1 month, 2 weeks ago
On 9/29/2026 11:33 AM, Pierrick Bouvier wrote:
> This check ensures we don't bring regression for all targets that can be
> linked together by building multi-target test. Also, running it ensure
> all QOM types are unique.
> 
> All compatible targets are automatically detected, so they don't need to
> be fed to ./configure.
> 
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
> ---
>  .gitlab-ci.d/buildtest.yml | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 

This was merged into master (faf92d98e399320836f0db9bdf192593a8b56a71).

Regards,
Pierrick
Re: [PATCH] ci: add multi-target job
Posted by Philippe Mathieu-Daudé 1 month, 3 weeks ago
On 29/9/26 20:33, Pierrick Bouvier wrote:
> This check ensures we don't bring regression for all targets that can be
> linked together by building multi-target test. Also, running it ensure
> all QOM types are unique.
> 
> All compatible targets are automatically detected, so they don't need to
> be fed to ./configure.
> 
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
> ---
>   .gitlab-ci.d/buildtest.yml | 11 +++++++++++
>   1 file changed, 11 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>

Re: [PATCH] ci: add multi-target job
Posted by Pierrick Bouvier 1 month, 3 weeks ago
On 9/29/2026 11:33 AM, Pierrick Bouvier wrote:
> This check ensures we don't bring regression for all targets that can be
> linked together by building multi-target test. Also, running it ensure
> all QOM types are unique.
> 
> All compatible targets are automatically detected, so they don't need to
> be fed to ./configure.
> 
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
> ---
>  .gitlab-ci.d/buildtest.yml | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
> index a97cc0b20b8..b1e95395d0c 100644
> --- a/.gitlab-ci.d/buildtest.yml
> +++ b/.gitlab-ci.d/buildtest.yml
> @@ -659,6 +659,17 @@ build-tci:
>        done
>      - make check-tcg
>  
> +multi-target:
> +  extends: .native_build_job_template
> +  needs:
> +    - job: amd64-debian-container
> +  variables:
> +    IMAGE: debian
> +  script:
> +    - ./configure
> +    - make -C build tests/unit/test-multi-target
> +    - ./build/tests/unit/test-multi-target
> +
>  # Check our reduced build configurations
>  build-without-defaults:
>    extends: .native_build_job_template

Please find a job run here:
https://gitlab.com/p-b-o/qemu/-/jobs/16816899262

Regards,
Pierrick