Skip to content
Snippets Groups Projects
Commit e91d78ce authored by bjorn3's avatar bjorn3
Browse files

Use cargo binstall to save 1.5min on building various build deps

parent 0ded7946
No related branches found
No related tags found
No related merge requests found
......@@ -28,9 +28,10 @@ img:
script:
- |
source "$HOME/.cargo/env" &&
cargo install --version 0.1.1 cargo-config &&
cargo install --version 1.16.0 just &&
cargo install --version 0.26.0 cbindgen &&
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash &&
cargo binstall --no-confirm --version 0.1.1 cargo-config &&
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 &&
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME REPO_BINARY=1
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment