summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDavid Heidelberg <david.heidelberg@collabora.com>2023-06-13 22:40:21 +0200
committerMarge Bot <emma+marge@anholt.net>2023-08-08 16:13:05 +0000
commitc4357c6c498010677eff37a7730bdab2cbd7ff1d (patch)
tree7fe6c6d2f797ea98022927c1615b8562a854767e /.gitlab-ci.yml
parent478a18aa3d43aea1c8aef675899a0cfd1a266639 (diff)
ci: add perfetto into mesa git-cache
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8821 Fixes: 8aff2281276c ("ci: Enable building the testing drivers with perfetto.") Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23611>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
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 .