mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Try new caching keys.
This commit is contained in:
parent
9d67e9b4fc
commit
d8bfa02deb
10
circle.yml
10
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
|
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
|
echo -n "$CIRCLE_SHA1" > commit_hash.txt
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: ccache-{{ arch }}-{{ .Branch }}
|
key: ccache-{{ arch }}-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
|
||||||
key: ccache-{{ arch }}
|
key: ccache-{{ arch }}-{{ .Branch }}-
|
||||||
key: ccache
|
key: ccache-{{ arch }}-develop-
|
||||||
|
key: ccache-{{ arch }}-
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
command: ./scripts/build.sh RelWithDebInfo
|
command: ./scripts/build.sh RelWithDebInfo
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: ccache-{{ arch }}-{{ .Branch }}
|
key: ccache-{{ arch }}-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
|
||||||
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- ~/.ccache
|
- ~/.ccache
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
|
Loading…
Reference in New Issue
Block a user