diff --git a/.travis.yml b/.travis.yml index a3c9cf2..d479105 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ before_install: set -e install: - bash ci/install.sh + - export PATH="$PATH:$PWD/gcc/bin" script: - bash ci/script.sh diff --git a/ci/install.sh b/ci/install.sh index 3c41921..fa98970 100644 --- a/ci/install.sh +++ b/ci/install.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 diff --git a/ci/script.sh b/ci/script.sh index dde6273..9aa0d7a 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -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