aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-06 02:50:09 +0800
committerchriseth <chris@ethereum.org>2018-03-06 06:22:59 +0800
commitd8bfa02deb11007126094a3b05bbf397ba23eed2 (patch)
tree7913ff8b4e9954552600686e05e59cc7f12aedef
parent9d67e9b4fc1b04a1e2d837a30ffb4ebee8863115 (diff)
downloaddexon-solidity-d8bfa02deb11007126094a3b05bbf397ba23eed2.tar.gz
dexon-solidity-d8bfa02deb11007126094a3b05bbf397ba23eed2.tar.zst
dexon-solidity-d8bfa02deb11007126094a3b05bbf397ba23eed2.zip
Try new caching keys.
-rw-r--r--circle.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/circle.yml b/circle.yml
index 1ed09ada..3f9724f4 100644
--- a/circle.yml
+++ b/circle.yml
@@ -96,14 +96,16 @@ jobs:
if [ "$CIRCLE_BRANCH" = release -o -n "$CIRCLE_TAG" ]; then echo -n > prerelease.txt; else date -u +"nightly.%Y.%-m.%-d" > prerelease.txt; fi
echo -n "$CIRCLE_SHA1" > commit_hash.txt
- restore_cache:
- key: ccache-{{ arch }}-{{ .Branch }}
- key: ccache-{{ arch }}
- key: ccache
+ key: ccache-{{ arch }}-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
+ key: ccache-{{ arch }}-{{ .Branch }}-
+ key: ccache-{{ arch }}-develop-
+ key: ccache-{{ arch }}-
- run:
name: Build
command: ./scripts/build.sh RelWithDebInfo
- save_cache:
- key: ccache-{{ arch }}-{{ .Branch }}
+ key: ccache-{{ arch }}-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
+ when: always
paths:
- ~/.ccache
- store_artifacts: