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
|
|
|
|
2018-05-27 18:19:07 -07:00
|
|
|
: "${libcuda_verify_ed25519_URL:?environment variable undefined}"
|
2018-05-21 23:02:54 -07:00
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=/usr/local/cuda/lib64
|
|
|
|
export PATH=$PATH:/usr/local/cuda/bin
|
|
|
|
curl -X GET -o libcuda_verify_ed25519.a "$libcuda_verify_ed25519_URL"
|
|
|
|
|
2018-05-27 18:19:07 -07:00
|
|
|
# shellcheck disable=SC1090 # <-- shellcheck can't follow ~
|
|
|
|
source ~/.cargo/env
|
2018-05-21 23:02:54 -07:00
|
|
|
cargo test --features=cuda
|
|
|
|
|
|
|
|
exit 0
|