diff --git a/.circleci/config.yml b/.circleci/config.yml index 75f6dcdf7..ea0a99bd7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -86,6 +86,10 @@ jobs: xcode: "9.0" steps: - checkout + - restore_cache: + keys: + - v8-cargo-cache-darwin-stable-{{ arch }}-{{ checksum "Cargo.lock" }} + # - v8-cargo-cache-darwin-stable-{{ arch }} - run: name: Install crate dependencies command: | @@ -130,6 +134,16 @@ jobs: export PATH="`pwd`/cmake-3.4.1-Darwin-x86_64/CMake.app/Contents/bin:$PATH" export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/" make integration-tests + - save_cache: + paths: + - ~/.cargo/registry/ + - target/debug/.fingerprint + - target/debug/build + - target/debug/deps + - target/release/.fingerprint + - target/release/build + - target/release/deps + key: v8-cargo-cache-darwin-stable-{{ arch }}-{{ checksum "Cargo.lock" }} test-and-build: docker: @@ -358,7 +372,6 @@ jobs: -d build_parameters[CIRCLE_JOB]=bench \ https://circleci.com/api/v1.1/project/github/wasmerio/wasmer-bench/tree/master fi - workflows: version: 2 main: