vexriscv-rust/ci/script.sh

14 lines
246 B
Bash
Raw Normal View History

2019-03-17 21:30:23 +08:00
#!/usr/bin/env bash
2018-08-11 23:58:32 +08:00
2019-03-17 21:30:23 +08:00
set -euxo pipefail
2018-08-11 23:58:32 +08:00
2019-03-17 21:30:23 +08:00
cargo check --target $TARGET
2018-12-23 18:37:47 +08:00
2019-03-17 21:30:23 +08:00
if [ $TRAVIS_RUST_VERSION = nightly ]; then
cargo check --target $TARGET --features inline-asm
fi
2018-08-11 23:58:32 +08:00
2019-03-17 21:30:23 +08:00
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
./check-blobs.sh
fi