From c4357c6c498010677eff37a7730bdab2cbd7ff1d Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Tue, 13 Jun 2023 22:40:21 +0200 Subject: [PATCH] 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 Part-of: --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d370a40..dee471b 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 . -- 2.7.4