File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,16 @@ IFS=$'\n\t'
6
6
source " $( cd " $( dirname " $0 " ) " && pwd) /../shared.sh"
7
7
8
8
if isWindows; then
9
- # FIXME(mati865): hopefully temporary workaround for MSYS2 issue
10
- pacman -Sy --noconfirm pacman
9
+ # FIXME(mati865): temporary workaround until chocolatey updates their MSYS2
10
+ base_url=' https://ci-mirrors.rust-lang.org/rustc/msys2-repo/msys/x86_64'
11
+ curl ${base_url} /libzstd-1.4.4-2-x86_64.pkg.tar.xz -o libzstd-1.4.4-2-x86_64.pkg.tar.xz
12
+ curl ${base_url} /pacman-5.2.1-6-x86_64.pkg.tar.xz -o pacman-5.2.1-6-x86_64.pkg.tar.xz
13
+ curl ${base_url} /zstd-1.4.4-2-x86_64.pkg.tar.xz -o zstd-1.4.4-2-x86_64.pkg.tar.xz
14
+ pacman -U --noconfirm libzstd-1.4.4-2-x86_64.pkg.tar.xz pacman-5.2.1-6-x86_64.pkg.tar.xz \
15
+ zstd-1.4.4-2-x86_64.pkg.tar.xz
16
+ rm libzstd-1.4.4-2-x86_64.pkg.tar.xz pacman-5.2.1-6-x86_64.pkg.tar.xz \
17
+ zstd-1.4.4-2-x86_64.pkg.tar.xz
18
+ pacman -Sy
11
19
12
20
pacman -S --noconfirm --needed base-devel ca-certificates make diffutils tar \
13
21
binutils
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if isWindows; then
17
17
msys2.nupkg
18
18
curl -sSL https://packages.chocolatey.org/chocolatey-core.extension.1.3.5.1.nupkg > \
19
19
chocolatey-core.extension.nupkg
20
- # FIXME(mati865): remove `/NoUpdate` once MSYS2 issue is fixed
20
+ # FIXME(mati865): remove `/NoUpdate` once chocolatey updates MSYS2
21
21
choco install -s . msys2 \
22
22
--params=" /InstallDir:$( ciCheckoutPath) /msys2 /NoPath /NoUpdate" -y --no-progress
23
23
rm msys2.nupkg chocolatey-core.extension.nupkg
You can’t perform that action at this time.
0 commit comments