Skip to content

Commit b872eea

Browse files
authored
CI: don't update MSYS2 [skip ci]
This should use the package database from the installer, from the release choco provides and result in fewer potential changes overall.
1 parent 60f78e7 commit b872eea

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

azure-pipelines.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -166,17 +166,6 @@ jobs:
166166
- script: |
167167
choco install msys2 --params="/InstallDir:%MSYS2_ROOT% /NoUpdate /NoPath"
168168
displayName: Install MSYS2
169-
- script: |
170-
set PATH=%MSYS2_ROOT%\usr\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
171-
# Remove this line when https://github.com/msys2/MSYS2-packages/pull/2022 is merged
172-
%MSYS2_ROOT%\usr\bin\pacman --noconfirm -Sy dash
173-
echo Updating msys2
174-
%MSYS2_ROOT%\usr\bin\pacman --noconfirm -Syuu || echo system update failed, ignoring
175-
echo Killing all msys2 processes
176-
taskkill /F /FI "MODULES eq msys-2.0.dll"
177-
echo Updating msys2 (again)
178-
%MSYS2_ROOT%\usr\bin\pacman --noconfirm -Syuu
179-
displayName: Update MSYS2
180169
- script: |
181170
set PATH=%MSYS2_ROOT%\usr\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
182171
if %compiler%==gcc ( set "TOOLCHAIN=mingw-w64-$(MSYS2_ARCH)-toolchain" ) else ( set "TOOLCHAIN=mingw-w64-$(MSYS2_ARCH)-clang" )

0 commit comments

Comments
 (0)