summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAlex Bennée2020-07-01 15:56:47 +0200
committerAlex Bennée2020-07-11 16:53:00 +0200
commit6957fd98dc1b5c9501cb8e16d4b39d39a80a1820 (patch)
tree4ccd3273fd1729dfd158c8396bb0db3a73239a45 /.gitlab-ci.yml
parentgitlab: enable check-tcg for linux-user tests (diff)
downloadqemu-6957fd98dc1b5c9501cb8e16d4b39d39a80a1820.tar.gz
qemu-6957fd98dc1b5c9501cb8e16d4b39d39a80a1820.tar.xz
qemu-6957fd98dc1b5c9501cb8e16d4b39d39a80a1820.zip
gitlab: add avocado asset caching
These can be quite big so lets cache them. I couldn't find any nots on ccache in the gitlab docs so I've just ignored it for now. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200701135652.1366-36-alex.bennee@linaro.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 257947853b..13e9531724 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,6 +8,12 @@ stages:
- build
- test
+# We assume GitLab has it's own caching set up for RPM/APT repositories so we
+# just take care of avocado assets here.
+cache:
+ paths:
+ - $HOME/avocado/data/cache
+
include:
- local: '/.gitlab-ci.d/edk2.yml'
- local: '/.gitlab-ci.d/opensbi.yml'