vexriscv-rust/ci/script.sh

16 lines
282 B
Bash
Executable File

#!/usr/bin/env bash
set -euxo pipefail
if [ -n "${TARGET:-}" ]; then
cargo check --target $TARGET
if [ $TRAVIS_RUST_VERSION = nightly ]; then
cargo check --target $TARGET --features inline-asm
fi
fi
if [ -n "${CHECK_BLOBS:-}" ]; then
./check-blobs.sh
fi