aboutsummaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-06-25 03:30:54 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-06-25 00:35:01 +0000
commit6aabc205f71c44475d364b10f4bcca5fcaf38a7e (patch)
treeb66a84f1eba6568b3c3ec3e31d4d49cf04646cac /azure-pipelines.yml
parente9dbe82d3ebcdc873946fe84f8ab213377b1561d (diff)
downloadmeson-6aabc205f71c44475d364b10f4bcca5fcaf38a7e.zip
meson-6aabc205f71c44475d364b10f4bcca5fcaf38a7e.tar.gz
meson-6aabc205f71c44475d364b10f4bcca5fcaf38a7e.tar.bz2
ci: Workaround MSYS2 update breakage
Also kill all MSYS2 processes after the first update, and constantly print update status.
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index f482b8e..85fedab 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -161,7 +161,13 @@ jobs:
displayName: Install MSYS2
- script: |
set PATH=%MSYS2_ROOT%\usr\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
- %MSYS2_ROOT%\usr\bin\pacman --noconfirm -Syyuu
+ # Remove this line when https://github.com/msys2/MSYS2-packages/pull/2022 is merged
+ %MSYS2_ROOT%\usr\bin\pacman --noconfirm -Sy dash
+ echo Updating msys2
+ %MSYS2_ROOT%\usr\bin\pacman --noconfirm -Syuu || echo system update failed, ignoring
+ echo Killing all msys2 processes
+ taskkill /F /FI "MODULES eq msys-2.0.dll"
+ echo Updating msys2 (again)
%MSYS2_ROOT%\usr\bin\pacman --noconfirm -Syuu
displayName: Update MSYS2
- script: |