Skip to content

Commit ee24be7

Browse files
Darksonntaiki-e
andauthored
ci: fetch cargo hack from github release (#507)
Co-authored-by: Taiki Endo <te316e89@gmail.com>
1 parent 2697fa7 commit ee24be7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/test-stable.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ set -ex
55
cmd="${1:-test}"
66

77
# Install cargo-hack for feature flag test
8-
cargo install cargo-hack
8+
host=$(rustc -Vv | grep host | sed 's/host: //')
9+
curl -LsSf https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-$host.tar.gz | tar xzf - -C ~/.cargo/bin
910

1011
# Run with each feature
1112
# * --each-feature includes both default/no-default features

0 commit comments

Comments
 (0)