Check binary blobs during CI
This commit is contained in:
parent
a51143d366
commit
02c9295587
|
@ -28,6 +28,7 @@ before_install: set -e
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- bash ci/install.sh
|
- bash ci/install.sh
|
||||||
|
- export PATH="$PATH:$PWD/gcc/bin"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- bash ci/script.sh
|
- bash ci/script.sh
|
||||||
|
|
|
@ -4,6 +4,9 @@ main() {
|
||||||
if [ $TARGET != x86_64-unknown-linux-gnu ]; then
|
if [ $TARGET != x86_64-unknown-linux-gnu ]; then
|
||||||
rustup target add $TARGET
|
rustup target add $TARGET
|
||||||
fi
|
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
|
main
|
||||||
|
|
|
@ -6,6 +6,10 @@ main() {
|
||||||
if [ $TRAVIS_RUST_VERSION = nightly ]; then
|
if [ $TRAVIS_RUST_VERSION = nightly ]; then
|
||||||
cargo check --target $TARGET --features 'const-fn inline-asm'
|
cargo check --target $TARGET --features 'const-fn inline-asm'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
|
||||||
|
./check-blobs.sh
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
Loading…
Reference in New Issue