vexriscv-rust/ci/script.sh

16 lines
281 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
cargo check --target $TARGET --features 'const-fn 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