ci: clone repos with shallow submodules

This commit is contained in:
sfan5 2024-02-26 23:16:48 +01:00
parent bc4003d219
commit 3e42139e13
3 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,8 @@ set -e
rm -rf subprojects
mkdir -p subprojects
git clone https://code.videolan.org/videolan/libplacebo.git \
--depth 1 --branch v6.338 --recurse-submodules subprojects/libplacebo
--recurse-submodules --shallow-submodules \
--depth=1 --branch v6.338 subprojects/libplacebo \
meson setup build \
-Dlibplacebo:vulkan=disabled \

View File

@ -6,7 +6,7 @@ ln -snf . "$prefix_dir/usr"
ln -snf . "$prefix_dir/local"
wget="wget -nc --progress=bar:force"
gitclone="git clone --depth=1 --recursive"
gitclone="git clone --depth=1 --recursive --shallow-submodules"
# -posix is Ubuntu's variant with pthreads support
export CC=$TARGET-gcc-posix

View File

@ -5,7 +5,8 @@ set -e
rm -rf subprojects
mkdir -p subprojects
git clone https://code.videolan.org/videolan/libplacebo.git \
--depth 1 --recurse-submodules subprojects/libplacebo
--recurse-submodules --shallow-submodules \
--depth=1 --recurse-submodules subprojects/libplacebo
meson setup build \
-Dlibmpv=true \