ci: Fix subprojects caching in Windows image

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/931>
This commit is contained in:
Xavier Claessens 2021-10-04 20:25:54 -04:00 committed by Jordan Petridis
parent 66066ffa03
commit bc40073836

View file

@ -10,8 +10,8 @@ git clone -b $env:DEFAULT_BRANCH https://gitlab.freedesktop.org/gstreamer/gstrea
# download the subprojects to try and cache them
Write-Host "Downloading subprojects"
meson subprojects download --sourcedir /gstreamer
meson subprojects download --sourcedir C:\gstreamer
Write-Host "Caching subprojects into /subprojects/"
python /gstreamer/ci/scripts/handle-subprojects-cache.py --build /gstreamer/subprojects/
python C:\gstreamer/ci/scripts/handle-subprojects-cache.py --build C:\gstreamer/subprojects/
Remove-Item -Recurse -Force C:\gstreamer