@@ -84,6 +84,17 @@ steps:
84
84
condition : and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'), ne(variables['MINGW_URL'],''))
85
85
displayName : Download custom MinGW
86
86
87
+ # FIXME(#65767): workaround msys bug, step 1
88
+ - bash : |
89
+ set -e
90
+ arch=i686
91
+ if [ "$MSYS_BITS" = "64" ]; then
92
+ arch=x86_64
93
+ fi
94
+ curl -O https://ci-mirrors.rust-lang.org/rustc/msys2-repo/mingw/$arch/mingw-w64-$arch-ca-certificates-20180409-1-any.pkg.tar.xz
95
+ condition : and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
96
+ displayName : Download working ca-certificates for msys
97
+
87
98
# Otherwise install MinGW through `pacman`
88
99
- bash : |
89
100
set -e
@@ -96,6 +107,18 @@ steps:
96
107
condition : and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'), eq(variables['MINGW_URL'],''))
97
108
displayName : Download standard MinGW
98
109
110
+ # FIXME(#65767): workaround msys bug, step 2
111
+ - bash : |
112
+ set -e
113
+ arch=i686
114
+ if [ "$MSYS_BITS" = "64" ]; then
115
+ arch=x86_64
116
+ fi
117
+ pacman -U --noconfirm --noprogressbar mingw-w64-$arch-ca-certificates-20180409-1-any.pkg.tar.xz
118
+ rm mingw-w64-$arch-ca-certificates-20180409-1-any.pkg.tar.xz
119
+ condition : and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
120
+ displayName : Install working ca-certificates for msys
121
+
99
122
# Make sure we use the native python interpreter instead of some msys equivalent
100
123
# one way or another. The msys interpreters seem to have weird path conversions
101
124
# baked in which break LLVM's build system one way or another, so let's use the
0 commit comments