mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
android CI: incremental install when retry
This commit is contained in:
parent
4090d468c0
commit
5d763358fa
1 changed files with 4 additions and 1 deletions
|
@ -515,7 +515,10 @@ snapshot() {
|
||||||
|
|
||||||
echo "Installing cargo-nextest"
|
echo "Installing cargo-nextest"
|
||||||
# We need to install nextest via cargo currently, since there is no pre-built binary for android x86
|
# We need to install nextest via cargo currently, since there is no pre-built binary for android x86
|
||||||
command="export CARGO_TERM_COLOR=always && cargo install cargo-nextest"
|
# explicitly set CARGO_TARGET_DIR as otherwise a random generated tmp directory is used,
|
||||||
|
# which prevents incremental build for the retries.
|
||||||
|
command="export CARGO_TERM_COLOR=always && export CARGO_TARGET_DIR=\"cargo_install_target_dir\" && cargo install cargo-nextest"
|
||||||
|
|
||||||
run_with_retry 3 run_command_via_ssh "$command"
|
run_with_retry 3 run_command_via_ssh "$command"
|
||||||
return_code=$?
|
return_code=$?
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue