mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
docker/windows: install vcredist140 explicitly
We depend on it for GStreamer builds and it was gettings pulled transiently by python3 install. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/405>
This commit is contained in:
parent
abe89db32d
commit
37c0ee7280
1 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,9 @@ Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://cho
|
||||||
Import-Module "$env:ProgramData\chocolatey\helpers\chocolateyProfile.psm1"
|
Import-Module "$env:ProgramData\chocolatey\helpers\chocolateyProfile.psm1"
|
||||||
Update-SessionEnvironment
|
Update-SessionEnvironment
|
||||||
|
|
||||||
|
choco install -y vcredist140
|
||||||
|
$vc140_install = $?
|
||||||
|
|
||||||
Write-Host "Installing Chocolatey packages"
|
Write-Host "Installing Chocolatey packages"
|
||||||
choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=System'
|
choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=System'
|
||||||
$cmake_install = $?
|
$cmake_install = $?
|
||||||
|
@ -14,7 +17,7 @@ $git_install = $?
|
||||||
choco install -y python3 git-lfs 7zip
|
choco install -y python3 git-lfs 7zip
|
||||||
$rest_installs = $?
|
$rest_installs = $?
|
||||||
|
|
||||||
if (!($cmake_install -and $git_install -and $rest_installs)) {
|
if (!($vc140_install -and $cmake_install -and $git_install -and $rest_installs)) {
|
||||||
Write-Host "Failed to install some dependencies from choco"
|
Write-Host "Failed to install some dependencies from choco"
|
||||||
Exit 1
|
Exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue