diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d370a40e76d..dee471b1d46 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -226,6 +226,8 @@ make git archive: script: # Compactify the .git directory - git gc --aggressive + # Download & cache the perfetto subproject as well. + - rm -rf subprojects/perfetto ; mkdir -p subprojects/perfetto && curl https://android.googlesource.com/platform/external/perfetto/+archive/$(grep 'revision =' subprojects/perfetto.wrap | cut -d ' ' -f3).tar.gz | tar zxf - -C subprojects/perfetto # compress the current folder - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .