Skip to content

Commit

Permalink
gitlab-ci: add Rust-enabled CI job
Browse files Browse the repository at this point in the history
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é <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Acked-by: Alex Bennée <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
bonzini committed Oct 11, 2024
1 parent 8105ca8 commit 872e958
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitlab-ci.d/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions .gitlab-ci.d/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 872e958

Please sign in to comment.