gitlab: Limit cerbero ccache to 1.7G
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Sun, 9 Dec 2018 02:35:26 +0000 (21:35 -0500)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Sun, 9 Dec 2018 19:12:07 +0000 (19:12 +0000)
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

index e8d6d74..0a017b0 100644 (file)
@@ -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"