]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
gitlab-ci: add Rust-enabled CI job
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 7 Oct 2024 14:41:15 +0000 (16:41 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Oct 2024 10:32:18 +0000 (12:32 +0200)
Add a job using --enable-rust, to ensure that the toolchain is installed
correctly by the Dockerfile and that QEMU builds with Rust enabled on
at least one platform.

Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
.gitlab-ci.d/buildtest.yml
.gitlab-ci.d/containers.yml

index 669c980c4b4b42708073a7988b7d6e8456d9f08f..6af7920b355b331f128df3a97f60b693c105517a 100644 (file)
@@ -120,6 +120,19 @@ build-system-fedora:
       xtensa-softmmu m68k-softmmu riscv32-softmmu ppc-softmmu sparc64-softmmu
     MAKE_CHECK_ARGS: check-build
 
+build-system-fedora-rust-nightly:
+  extends:
+    - .native_build_job_template
+    - .native_build_artifact_template
+  needs:
+    job: amd64-fedora-rust-nightly-container
+  variables:
+    IMAGE: fedora-rust-nightly
+    CONFIGURE_ARGS: --disable-docs --enable-rust
+    TARGETS: aarch64-softmmu
+    MAKE_CHECK_ARGS: check-build
+  allow_failure: true
+
 check-system-fedora:
   extends: .native_test_job_template
   needs:
index ae79d4c58bcd9da481cb994ff3f04a26316b3728..db9b4d5e57f5e06d0e73500e3be6f0fe0a1cb1db 100644 (file)
@@ -27,3 +27,9 @@ python-container:
   extends: .container_job_template
   variables:
     NAME: python
+
+amd64-fedora-rust-nightly-container:
+  extends: .container_job_template
+  variables:
+    NAME: fedora-rust-nightly
+  allow_failure: true