ci: Limit depth of clone of subprojects

This saves bandwidth and CI image size.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2021-03-22 17:54:42 +00:00
parent a0ec9f1f2f
commit 1b09aca666
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
set -e set -e
git clone https://gitlab.freedesktop.org/pwithnall/malcontent.git git clone --depth 1 --no-tags https://gitlab.freedesktop.org/pwithnall/malcontent.git
meson subprojects download --sourcedir malcontent meson subprojects download --sourcedir malcontent
rm malcontent/subprojects/*.wrap rm malcontent/subprojects/*.wrap
mv malcontent/subprojects/ . mv malcontent/subprojects/ .