From 8259ce1e94ee6a4d33ca16f3f4d3616398e2de8c Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 5 Mar 2018 22:49:27 +0100 Subject: [PATCH] Restrict ccache cache size. --- circle.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/circle.yml b/circle.yml index 3f9724f44..990d39390 100644 --- a/circle.yml +++ b/circle.yml @@ -100,9 +100,15 @@ jobs: key: ccache-{{ arch }}-{{ .Branch }}- key: ccache-{{ arch }}-develop- key: ccache-{{ arch }}- + - run: + name: Configure ccache + command: ccache -M 80M && ccache -c && ccache -s && ccache -z - run: name: Build command: ./scripts/build.sh RelWithDebInfo + - run: + name: CCache statistics + command: ccache -s - save_cache: key: ccache-{{ arch }}-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }} when: always