mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
7e6cb3e15f
The repos on github/gitlab are mostly pruned when we clone them now, so we can remove the manual gc and make the build faster. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5629>
12 lines
380 B
Bash
12 lines
380 B
Bash
#! /bin/bash
|
|
|
|
set -eux
|
|
|
|
# get gstreamer and make all subprojects available
|
|
git clone -b "${GIT_BRANCH}" "${GIT_URL}" /gstreamer
|
|
git -C /gstreamer submodule update --init --depth=1
|
|
meson subprojects download --sourcedir /gstreamer
|
|
./ci/scripts/handle-subprojects-cache.py --build --cache-dir /subprojects /gstreamer/subprojects/
|
|
|
|
# Now remove the gstreamer clone
|
|
rm -rf /gstreamer
|