CI/Circle CI: Reduce ccache size from 5G to 1G

This should speedup Circle CI cache saving and in turn no-pch build
This commit is contained in:
Giacomo Pozzoni
2020-02-22 22:30:52 +01:00
committed by GitHub
parent 69231581e4
commit 1b543ac16d

View File

@@ -62,13 +62,14 @@ jobs:
- run:
name: Setup
command: |
ccache -s
git config user.email "circleci@build.bot" && git config user.name "Circl CI"
export CCACHE_MAXSIZE="1G"
export CC="ccache clang"
export CXX="ccache clang++"
export CCACHE_CPP2=yes
export USE_CCACHE=1
export PATH=/usr/lib/ccache:$PATH
ccache -s
git config user.email "circleci@build.bot" && git config user.name "Circle CI"
$CXX --version
mkdir bin
cd bin