File tree Expand file tree Collapse file tree 3 files changed +16
-22
lines changed Expand file tree Collapse file tree 3 files changed +16
-22
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ matrix:
22
22
23
23
24
24
install :
25
- - bash ci/install.sh
25
+ - ci/install.sh
26
26
- export PATH="$PATH:$PWD/gcc/bin"
27
27
28
28
script :
29
- - bash ci/script.sh
29
+ - ci/script.sh
30
30
31
31
32
32
cache : cargo
Original file line number Diff line number Diff line change 1
- set -euxo pipefail
1
+ #! /usr/bin/env bash
2
2
3
- main () {
4
- if [ $TARGET != x86_64-unknown-linux-gnu ]; then
5
- rustup target add $TARGET
6
- fi
3
+ set -euxo pipefail
7
4
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
10
- }
5
+ rustup target add $TARGET
11
6
12
- main
7
+ mkdir gcc
8
+ 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
Original file line number Diff line number Diff line change 1
- set -euxo pipefail
1
+ #! /usr/bin/env bash
2
2
3
- main () {
4
- cargo check --target $TARGET
3
+ set -euxo pipefail
5
4
6
- if [ $TRAVIS_RUST_VERSION = nightly ]; then
7
- cargo check --target $TARGET --features inline-asm
8
- fi
5
+ cargo check --target $TARGET
9
6
10
- if [ $TARGET = x86_64-unknown-linux-gnu ]; then
11
- ./check-blobs.sh
12
- fi
13
- }
7
+ if [ $TRAVIS_RUST_VERSION = nightly ]; then
8
+ cargo check --target $TARGET --features inline-asm
9
+ fi
14
10
15
- main
11
+ if [ $TARGET = x86_64-unknown-linux-gnu ]; then
12
+ ./check-blobs.sh
13
+ fi
You can’t perform that action at this time.
0 commit comments