File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ matrix:
21
21
if : (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
22
22
23
23
- env : CHECK_BLOBS=1
24
- rust : stable
24
+ rust :
25
+ language : bash
25
26
if : (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
26
27
27
28
@@ -32,7 +33,10 @@ script:
32
33
- ci/script.sh
33
34
34
35
35
- cache : cargo
36
+ cache :
37
+ cargo : true
38
+ directories :
39
+ - gcc
36
40
before_cache :
37
41
# Travis can't cache files that are not readable by "others"
38
42
- chmod -R a+r $HOME/.cargo
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ if [ -n "${TARGET:-}" ]; then
7
7
fi
8
8
9
9
if [ -n " ${CHECK_BLOBS:- } " ]; then
10
- mkdir gcc
11
- 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
+ if [ ! -d gcc/bin ]; then
11
+ mkdir -p gcc
12
+ 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
13
+ fi
12
14
fi
You can’t perform that action at this time.
0 commit comments