File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,10 @@ commands:
168168 sudo tar -C /usr/local -xzf go1.12.5.darwin-amd64.tar.gz
169169 ln -s /usr/local/go/bin/go /usr/local/bin/go
170170 HOMEBREW_NO_AUTO_UPDATE=1 brew install qemu
171+ - restore_cache :
172+ keys :
173+ - go-cache-macos-v2-{{ checksum "go.mod" }}-{{ .Environment.CIRCLE_PREVIOUS_BUILD_NUM }}
174+ - go-cache-macos-v2-{{ checksum "go.mod" }}
171175 - restore_cache :
172176 keys :
173177 - llvm-source-8-macos-v5
@@ -222,6 +226,12 @@ commands:
222226 curl -O https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.2.0-2019.05.3-x86_64-apple-darwin.tar.gz
223227 sudo tar -C /usr/local --strip-components=1 -xf riscv64-unknown-elf-gcc-8.2.0-2019.05.3-x86_64-apple-darwin.tar.gz
224228 - run : make smoketest AVR=0
229+ - save_cache :
230+ key : go-cache-macos-v2-{{ checksum "go.mod" }}-{{ .Environment.CIRCLE_BUILD_NUM }}
231+ paths :
232+ - ~/.cache/go-build
233+ - ~/.cache/tinygo
234+ - /go/pkg/mod
225235
226236
227237jobs :
You can’t perform that action at this time.
0 commit comments