Restrict ccache cache size.

This commit is contained in:
chriseth 2018-03-05 22:49:27 +01:00
parent d8bfa02deb
commit 8259ce1e94

View File

@ -100,9 +100,15 @@ jobs:
key: ccache-{{ arch }}-{{ .Branch }}- key: ccache-{{ arch }}-{{ .Branch }}-
key: ccache-{{ arch }}-develop- key: ccache-{{ arch }}-develop-
key: ccache-{{ arch }}- key: ccache-{{ arch }}-
- run:
name: Configure ccache
command: ccache -M 80M && ccache -c && ccache -s && ccache -z
- run: - run:
name: Build name: Build
command: ./scripts/build.sh RelWithDebInfo command: ./scripts/build.sh RelWithDebInfo
- run:
name: CCache statistics
command: ccache -s
- save_cache: - save_cache:
key: ccache-{{ arch }}-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }} key: ccache-{{ arch }}-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
when: always when: always