Skip to content

Commit 02c9295

Browse files
committed
Check binary blobs during CI
1 parent a51143d commit 02c9295

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ before_install: set -e
2828

2929
install:
3030
- bash ci/install.sh
31+
- export PATH="$PATH:$PWD/gcc/bin"
3132

3233
script:
3334
- bash ci/script.sh

ci/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ main() {
44
if [ $TARGET != x86_64-unknown-linux-gnu ]; then
55
rustup target add $TARGET
66
fi
7+
8+
mkdir gcc
9+
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
710
}
811

912
main

ci/script.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ main() {
66
if [ $TRAVIS_RUST_VERSION = nightly ]; then
77
cargo check --target $TARGET --features 'const-fn inline-asm'
88
fi
9+
10+
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
11+
./check-blobs.sh
12+
fi
913
}
1014

1115
main

0 commit comments

Comments
 (0)