diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-07 16:41:15 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-11 12:32:18 +0200 |
| commit | 872e9581f705a98a26048180c454dedabc535b86 (patch) | |
| tree | 82b06bc37d28166e61b4c009a8a9d969242fdd07 | |
| parent | 8105ca851246338d58ee329d8471878023650b5a (diff) | |
| download | focaccia-qemu-872e9581f705a98a26048180c454dedabc535b86.tar.gz focaccia-qemu-872e9581f705a98a26048180c454dedabc535b86.zip | |
gitlab-ci: add Rust-enabled CI job
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>
| -rw-r--r-- | .gitlab-ci.d/buildtest.yml | 13 | ||||
| -rw-r--r-- | .gitlab-ci.d/containers.yml | 6 |
2 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 669c980c4b..6af7920b35 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -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: diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml index ae79d4c58b..db9b4d5e57 100644 --- a/.gitlab-ci.d/containers.yml +++ b/.gitlab-ci.d/containers.yml @@ -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 |