Skip to content

Commit 2c7fc1c

Browse files
committed
Merge branch 'marler8997-fixAzureMsys2'
closes #5688 closes #5679
2 parents 3aab601 + 489c31b commit 2c7fc1c

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

ci/azure/pipelines.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,20 @@ jobs:
4040
timeoutInMinutes: 360
4141

4242
steps:
43+
- powershell: |
44+
(New-Object Net.WebClient).DownloadFile("https://github.com/msys2/msys2-installer/releases/download/2020-06-02/msys2-base-x86_64-20200602.sfx.exe", "sfx.exe")
45+
.\sfx.exe -y -o\
46+
del sfx.exe
47+
displayName: Download/Extract/Install MSYS2
4348
- script: |
44-
git clone https://github.com/msys2/msys2-ci-base.git %CD:~0,2%\msys64
45-
%CD:~0,2%\msys64\usr\bin\rm -rf %CD:~0,2%\msys64\.git
46-
set PATH=%CD:~0,2%\msys64\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
47-
%CD:~0,2%\msys64\usr\bin\pacman --noconfirm -Syyuu
48-
displayName: Install and Update MSYS2
49+
@REM install updated filesystem package first without dependency checking
50+
@REM because of: https://github.com/msys2/MSYS2-packages/issues/2021
51+
%CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Sydd filesystem"
52+
displayName: Workaround filesystem dash MSYS2 dependency issue
53+
- script: |
54+
%CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu"
55+
%CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu"
56+
displayName: Update MSYS2
4957
- task: DownloadSecureFile@1
5058
inputs:
5159
secureFile: s3cfg

ci/azure/windows_msvc_install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -x
44
set -e
55

66
pacman -Su --needed --noconfirm
7-
pacman -S --needed --noconfirm wget p7zip python3-pip
7+
pacman -S --needed --noconfirm wget p7zip python3-pip tar xz
88
pip install s3cmd
99
wget -nv "https://ziglang.org/deps/llvm%2bclang%2blld-10.0.0-x86_64-windows-msvc-release-mt.tar.xz"
1010
tar xf llvm+clang+lld-10.0.0-x86_64-windows-msvc-release-mt.tar.xz

0 commit comments

Comments
 (0)