Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
indicate that test-checks.sh requires cargo-hack (#33519)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbiseda authored Oct 10, 2023
1 parent ad949b2 commit 8c27d8b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ci/test-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ source ci/rust-version.sh nightly
eval "$(ci/channel-info.sh)"
cargoNightly="$(readlink -f "./cargo") nightly"

# check that cargo-hack has been installed
if ! $cargoNightly hack --version >/dev/null 2>&1; then
cat >&2 <<EOF
ERROR: cargo hack failed.
install 'cargo hack' with 'cargo install cargo-hack'
EOF
fi

echo --- build environment
(
set -x
Expand Down

0 comments on commit 8c27d8b

Please sign in to comment.