vexriscv-rust/ci/script.sh

16 lines
270 B
Bash
Raw Normal View History

2018-08-11 23:58:32 +08:00
set -euxo pipefail
main() {
cargo check --target $TARGET
if [ $TRAVIS_RUST_VERSION = nightly ]; then
2019-02-06 23:48:23 +08:00
cargo check --target $TARGET --features inline-asm
2018-08-11 23:58:32 +08:00
fi
2018-12-23 18:37:47 +08:00
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
./check-blobs.sh
fi
2018-08-11 23:58:32 +08:00
}
main