Use cargo binstall to save 1.5min on building various build deps
This commit is contained in:
parent
0ded7946d0
commit
e91d78ce4b
|
@ -28,9 +28,10 @@ img:
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
source "$HOME/.cargo/env" &&
|
source "$HOME/.cargo/env" &&
|
||||||
cargo install --version 0.1.1 cargo-config &&
|
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash &&
|
||||||
cargo install --version 1.16.0 just &&
|
cargo binstall --no-confirm --version 0.1.1 cargo-config &&
|
||||||
cargo install --version 0.26.0 cbindgen &&
|
cargo binstall --no-confirm --version 1.16.0 just &&
|
||||||
|
cargo binstall --no-confirm --version 0.26.0 cbindgen &&
|
||||||
cargo build --manifest-path installer/Cargo.toml --release &&
|
cargo build --manifest-path installer/Cargo.toml --release &&
|
||||||
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME REPO_BINARY=1
|
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME REPO_BINARY=1
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue