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:
parent
176023156e
commit
2707b0f72a
1 changed files with 1 additions and 0 deletions
|
|
@ -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" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue