From e18e7a7067c7c8f55f39afedd34bb295a971332b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner <hans@eds.org> Date: Wed, 24 Feb 2016 20:31:42 +0100 Subject: [PATCH] gitlab-ci: cache downloaded things between builds This stores the Android SDK tarball and gradle caches between builds to speed things up. Since the unpacked SDK gets unpacked very time, updating the version is just a matter of changing the variable. Since only the gradle caches are stored, i.e. the jars and gradle binaries, updates there will only add more files to the cache. --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 002b26310..2850ffc31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,13 @@ image: mvdan/fdroid-ci:latest +cache: + paths: + - .gradle/wrapper + - .gradle/caches + test: script: + - export GRADLE_USER_HOME=$PWD/.gradle - cd F-Droid - ./tools/langs-list-check.py - ./tools/check-string-format.py