Skip to content

Commit e8918a7

Browse files
committed
Enable gcc caching
1 parent 4ea6ec4 commit e8918a7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

riscv-rt/.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ install:
2929
script:
3030
- ci/script.sh
3131

32-
cache: cargo
32+
cache:
33+
cargo: true
34+
directories:
35+
- gcc
3336

3437
branches:
3538
only:

riscv-rt/ci/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fi
88

99
if [ -n "${CHECK_BLOBS:-}" ]; then
1010
if [ ! -d gcc/bin ]; then
11-
mkdir gcc
11+
mkdir -p gcc
1212
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
1313
fi
1414
fi

0 commit comments

Comments
 (0)