Skip to content

Commit 13841ef

Browse files
committed
Cache registry folder
1 parent f618e0b commit 13841ef

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.circleci/config.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,19 @@ jobs:
8888
command: rustc --version; cargo --version; rustup --version
8989
- restore_cache:
9090
keys:
91-
- cargocache-v2-libwasmvm_windows-rust:1.59.0-{{ checksum "libwasmvm/Cargo.lock" }}
91+
- cachev4-libwasmvm_windows-rust:1.59.0-{{ checksum "libwasmvm/Cargo.lock" }}
9292
- run:
9393
name: Run unit tests
9494
working_directory: libwasmvm
9595
command: cargo test
9696
- save_cache:
9797
paths:
98-
- target/debug/.fingerprint
99-
- target/debug/build
100-
- target/debug/deps
101-
key: cargocache-v2-libwasmvm_windows-rust:1.59.0-{{ checksum "libwasmvm/Cargo.lock" }}
98+
# ".." is the easiest way to get $HOME here (pwd is $HOME\project)
99+
- ../.cargo/registry
100+
- libwasmvm/target/debug/.fingerprint
101+
- libwasmvm/target/debug/build
102+
- libwasmvm/target/debug/deps
103+
key: cachev4-libwasmvm_windows-rust:1.59.0-{{ checksum "libwasmvm/Cargo.lock" }}
102104

103105
libwasmvm_audit:
104106
docker:

0 commit comments

Comments
 (0)