Check binary blobs during CI

This commit is contained in:
Vadim Kaushan 2018-12-23 11:37:47 +01:00
parent a51143d366
commit 02c9295587
3 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,7 @@ before_install: set -e
install:
- bash ci/install.sh
- export PATH="$PATH:$PWD/gcc/bin"
script:
- bash ci/script.sh

View File

@ -4,6 +4,9 @@ main() {
if [ $TARGET != x86_64-unknown-linux-gnu ]; then
rustup target add $TARGET
fi
mkdir gcc
curl -L https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2018.12.0-x86_64-linux-ubuntu14.tar.gz | tar --strip-components=1 -C gcc -xz
}
main

View File

@ -6,6 +6,10 @@ main() {
if [ $TRAVIS_RUST_VERSION = nightly ]; then
cargo check --target $TARGET --features 'const-fn inline-asm'
fi
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
./check-blobs.sh
fi
}
main