Remove ccache on circle.

This commit is contained in:
chriseth 2018-03-15 23:06:19 +01:00
parent 9e1095608d
commit 0a4d4d6c52

View File

@ -89,20 +89,12 @@ jobs:
name: Install build dependencies name: Install build dependencies
command: | command: |
apt-get -qq update apt-get -qq update
apt-get -qy install ccache cmake libboost-all-dev libz3-dev apt-get -qy install cmake libboost-regex-dev libboost-filesystem-dev libboost-test-dev libboost-system-dev libboost-program-options-dev libz3-dev
- run: - run:
name: Store commit hash and prerelease name: Store commit hash and prerelease
command: | command: |
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:
key: ccache-{{ arch }}-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
key: ccache-{{ arch }}-{{ .Branch }}-
key: ccache-{{ arch }}-develop-
key: ccache-{{ arch }}-
- run:
name: Configure ccache
command: ccache -M 200M && ccache -c && ccache -s && ccache -z
- run: - run:
name: Build name: Build
command: | command: |
@ -110,14 +102,6 @@ jobs:
cd build cd build
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
make -j4 make -j4
- run:
name: CCache statistics
command: ccache -s
- save_cache:
key: ccache-{{ arch }}-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
when: always
paths:
- ~/.ccache
- store_artifacts: - store_artifacts:
path: build/solc/solc path: build/solc/solc
destination: solc destination: solc