Downgrade MinGW in Windows setup scripts.
After the switch to MinGW 11.2.0 in #6888, the containerd client integration tests were crashing with an apparent memory allocation error as described in golang/go#46099. This patch reverts MinGW to 10.3.0 to bypass the issue. Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
This commit is contained in:
parent
fbf76c201f
commit
0b3c31dd7c
@ -5,7 +5,7 @@
|
|||||||
# lived test environment.
|
# lived test environment.
|
||||||
Set-MpPreference -DisableRealtimeMonitoring:$true
|
Set-MpPreference -DisableRealtimeMonitoring:$true
|
||||||
|
|
||||||
$PACKAGES= @{ mingw = "11.2.0"; git = ""; golang = "1.18.3"; make = ""; nssm = "" }
|
$PACKAGES= @{ mingw = "10.3.0"; git = ""; golang = "1.18.3"; make = ""; nssm = "" }
|
||||||
|
|
||||||
Write-Host "Downloading chocolatey package"
|
Write-Host "Downloading chocolatey package"
|
||||||
curl.exe -L "https://packages.chocolatey.org/chocolatey.0.10.15.nupkg" -o 'c:\choco.zip'
|
curl.exe -L "https://packages.chocolatey.org/chocolatey.0.10.15.nupkg" -o 'c:\choco.zip'
|
||||||
@ -41,6 +41,10 @@ Write-Host $env:PATH
|
|||||||
# Prepare Log dir
|
# Prepare Log dir
|
||||||
mkdir c:\Logs
|
mkdir c:\Logs
|
||||||
|
|
||||||
|
# Log go env for future reference:
|
||||||
|
go env > c:\Logs\go-env.txt
|
||||||
|
cat c:\Logs\go-env.txt
|
||||||
|
|
||||||
# Pull junit conversion tool
|
# Pull junit conversion tool
|
||||||
go install github.com/jstemmer/go-junit-report@v0.9.1
|
go install github.com/jstemmer/go-junit-report@v0.9.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user