diff --git a/.travis/asan.sh b/.travis/asan.sh index 8e6c18ccb1..576766887d 100755 --- a/.travis/asan.sh +++ b/.travis/asan.sh @@ -4,6 +4,11 @@ set -ex TARGET=$(rustc -vV | sed -n 's|host: ||p') +if [ -n "$GITHUB_ACTIONS" ] +then + pip install numpy +fi + rustup toolchain add nightly rustup component add rust-src --toolchain nightly-$TARGET