mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Make binaries with required-features
optional (#438)
* Make binaries with `required-features` optional so that crates like `sccache` would work as expected. * Fix `infer_bin_dir_template`: concat with `data.bin_path` introduced in #417 * Always `chmod +x $bin` on unix in case the archive (e.g. `sccache`) did not set the executable bit of fmt == Bin. * CI: Install `sccache` but do not run it since it requires cargo env to be ready Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
4ba1e221ea
commit
f482e362ba
3 changed files with 43 additions and 18 deletions
8
.github/scripts/tests.sh
vendored
8
.github/scripts/tests.sh
vendored
|
@ -7,7 +7,13 @@ unset CARGO_HOME
|
|||
|
||||
# Install binaries using cargo-binstall
|
||||
# shellcheck disable=SC2086
|
||||
"./$1" binstall --log-level debug --no-confirm b3sum cargo-release cargo-binstall cargo-watch miniserve
|
||||
"./$1" binstall --log-level debug --no-confirm \
|
||||
b3sum \
|
||||
cargo-release \
|
||||
cargo-binstall \
|
||||
cargo-watch \
|
||||
miniserve \
|
||||
sccache
|
||||
|
||||
# Test that the installed binaries can be run
|
||||
b3sum --version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue