mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: Add cargo nextest to container
cargo nextest is an improved test runner that allows retries as well a reporting the times for the test runs. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
@@ -112,6 +112,7 @@ RUN export ARCH="$(uname -m)" \
|
|||||||
$RUST_TOOLCHAIN-x86_64-unknown-linux-musl; fi \
|
$RUST_TOOLCHAIN-x86_64-unknown-linux-musl; fi \
|
||||||
&& if [ "$TARGETARCH" = "amd64" ]; then rustup component add rustfmt; fi \
|
&& if [ "$TARGETARCH" = "amd64" ]; then rustup component add rustfmt; fi \
|
||||||
&& if [ "$TARGETARCH" = "amd64" ]; then rustup component add clippy; fi \
|
&& if [ "$TARGETARCH" = "amd64" ]; then rustup component add clippy; fi \
|
||||||
|
&& cargo install cargo-nextest --locked \
|
||||||
&& rm -rf "$CARGO_HOME/registry" \
|
&& rm -rf "$CARGO_HOME/registry" \
|
||||||
&& ln -s "$CARGO_REGISTRY_DIR" "$CARGO_HOME/registry" \
|
&& ln -s "$CARGO_REGISTRY_DIR" "$CARGO_HOME/registry" \
|
||||||
&& rm -rf "$CARGO_HOME/git" \
|
&& rm -rf "$CARGO_HOME/git" \
|
||||||
|
|||||||
Reference in New Issue
Block a user