solana/ci/test-stable-perf.sh

25 lines
433 B
Bash
Raw Normal View History

2018-05-21 23:02:54 -07:00
#!/bin/bash -e
2018-05-27 18:19:07 -07:00
cd "$(dirname "$0")/.."
2018-05-21 23:02:54 -07:00
./fetch-perf-libs.sh
2018-05-21 23:02:54 -07:00
2018-06-24 21:24:08 -07:00
export LD_LIBRARY_PATH=$PWD:/usr/local/cuda/lib64
export PATH=$PATH:/usr/local/cuda/bin
2018-05-28 19:45:47 -07:00
export RUST_BACKTRACE=1
2018-05-21 23:02:54 -07:00
_() {
echo "--- $*"
"$@"
}
_ cargo test --features=cuda,erasure
echo --- ci/localnet-sanity.sh
(
set -x
# Assume |cargo build| has populated target/debug/ successfully.
export PATH=$PWD/target/debug:$PATH
USE_INSTALL=1 ci/localnet-sanity.sh
)