mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-28 00:00:17 +02:00
ci: fetch cargo hack from github release (#507)
Co-authored-by: Taiki Endo <[email protected]>
This commit is contained in:
+2
-1
@@ -5,7 +5,8 @@ set -ex
|
|||||||
cmd="${1:-test}"
|
cmd="${1:-test}"
|
||||||
|
|
||||||
# Install cargo-hack for feature flag 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
|
# Run with each feature
|
||||||
# * --each-feature includes both default/no-default features
|
# * --each-feature includes both default/no-default features
|
||||||
|
|||||||
Reference in New Issue
Block a user