Skip to content

Commit

Permalink
Windows CI : downgrade mingw to previously working version
Browse files Browse the repository at this point in the history
With upgrade of Azure CI runner image on 21st of Sept 2023,
choco brings mingw 12.2.0 and it's somehow incompatible with
msys+neuron installation. So for now, just use previously working
version of mingw.

See PRs #2546 #2547 #2548
  • Loading branch information
pramodk committed Sep 27, 2023
1 parent 2c15679 commit 20093f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ci/win_install_deps.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ if "%MSYS2_ROOT%"=="" set MSYS2_ROOT=C:\msys64
if not exist "%MSYS2_ROOT%\usr\bin\bash.exe" (
choco install -y --no-progress msys2 --params="/InstallDir:%MSYS2_ROOT% /NoUpdate /NoPath" || goto :error
)

:: With upgrade of Azure CI runner image on 21st of Sept 2023,
:: choco brings mingw 12.2.0 and it's somehow incompatible with
:: msys+neuron installation. So for now, just use previously working
:: version of mingw
choco uninstall -y mingw
choco install --allow-downgrade -y mingw --version=11.2.0

set PATH=%MSYS2_ROOT%\usr\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%PATH%

:: update pacman cache (sometimes required when new GH/Azure runner images are deployed)
Expand Down

0 comments on commit 20093f6

Please sign in to comment.