mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
091946a478
Main differences with previous setup are: - No manifest creation - gst-indent is executed only when the bot is assigned (instead of the manifest task) - Cerbero jobs are triggered in the cerbero repo - Remove cerbero and android related files as they now are in cerbero itself. - Update `container.ps1` to the new file layout Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
17 lines
798 B
PowerShell
17 lines
798 B
PowerShell
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
|
|
|
|
# FIXME: Python fails to validate github.com SSL certificate, unless we first
|
|
# run a dummy download to force refreshing Windows' CA database.
|
|
# See: https://bugs.python.org/issue36137
|
|
(New-Object System.Net.WebClient).DownloadString("https://github.com") >$null
|
|
|
|
Write-Host "Cloning GStreamer"
|
|
git clone -b $env:DEFAULT_BRANCH https://gitlab.freedesktop.org/gstreamer/gstreamer.git C:\gstreamer
|
|
|
|
# download the subprojects to try and cache them
|
|
Write-Host "Downloading subprojects"
|
|
meson subprojects download --sourcedir /gstreamer
|
|
|
|
Write-Host "Caching subprojects into /subprojects/"
|
|
python /gstreamer/ci/scripts/handle-subprojects-cache.py --build /gstreamer/subprojects/
|
|
Remove-Item -Recurse -Force C:\gstreamer
|