Check binary blobs during CI
This commit is contained in:
parent
a51143d366
commit
02c9295587
|
@ -28,6 +28,7 @@ before_install: set -e
|
|||
|
||||
install:
|
||||
- bash ci/install.sh
|
||||
- export PATH="$PATH:$PWD/gcc/bin"
|
||||
|
||||
script:
|
||||
- bash ci/script.sh
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue