mirror of
https://github.com/openharmony/third_party_rust_bytes.git
synced 2026-06-30 23:37:54 -04:00
ci: fetch cargo hack from github release (#507)
Co-authored-by: Taiki Endo <te316e89@gmail.com>
This commit is contained in:
+2
-1
@@ -5,7 +5,8 @@ set -ex
|
||||
cmd="${1:-test}"
|
||||
|
||||
# Install cargo-hack for feature flag test
|
||||
cargo install cargo-hack
|
||||
host=$(rustc -Vv | grep host | sed 's/host: //')
|
||||
curl -LsSf https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-$host.tar.gz | tar xzf - -C ~/.cargo/bin
|
||||
|
||||
# Run with each feature
|
||||
# * --each-feature includes both default/no-default features
|
||||
|
||||
Reference in New Issue
Block a user