script.sh 358 B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. set -euxo pipefail
  3. cargo check --target $TARGET
  4. if [[ $TARGET == riscv* ]]; then
  5. cargo check --target $TARGET --examples
  6. fi
  7. if [ $TRAVIS_RUST_VERSION = nightly ]; then
  8. cargo check --target $TARGET --features 'inline-asm'
  9. fi
  10. if [ $TARGET = x86_64-unknown-linux-gnu ]; then
  11. PATH="$PATH:$PWD/gcc/bin"
  12. ./check-blobs.sh
  13. fi