From d19082b72667fb3382bdc3621520c4d26e258b2e Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Sat, 8 Dec 2018 21:35:26 -0500 Subject: [PATCH] gitlab: Limit cerbero ccache to 1.7G Testing showed that we need 1.6G to store all the objects. This limit will prevent the cache from growing over time. Compressing the cache can take a lot of time. --- gitlab/ci_template.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/gitlab/ci_template.yml b/gitlab/ci_template.yml index e8d6d74890..0a017b0ac2 100644 --- a/gitlab/ci_template.yml +++ b/gitlab/ci_template.yml @@ -129,6 +129,7 @@ build android arm64 api28: variables: CCACHE_BASEDIR: "${CI_PROJECT_DIR}" CCACHE_DIR: "${CI_PROJECT_DIR}/ccache" + CCACHE_MAXSIZE: "1.7G" CERBERO_HOME: "${CI_PROJECT_DIR}/cerbero-build" CERBERO_SOURCES: "${CI_PROJECT_DIR}/cerbero-sources" CERBERO_DEPS: "cerbero-deps.tar.gz"