This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,16 @@ IFS=$'\n\t'
66source " $( cd " $( dirname " $0 " ) " && pwd) /../shared.sh"
77
88if 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
1119
1220 pacman -S --noconfirm --needed base-devel ca-certificates make diffutils tar \
1321 binutils
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if isWindows; then
1717 msys2.nupkg
1818 curl -sSL https://packages.chocolatey.org/chocolatey-core.extension.1.3.5.1.nupkg > \
1919 chocolatey-core.extension.nupkg
20- # FIXME(mati865): remove `/NoUpdate` once MSYS2 issue is fixed
20+ # FIXME(mati865): remove `/NoUpdate` once chocolatey updates MSYS2
2121 choco install -s . msys2 \
2222 --params=" /InstallDir:$( ciCheckoutPath) /msys2 /NoPath /NoUpdate" -y --no-progress
2323 rm msys2.nupkg chocolatey-core.extension.nupkg
You can’t perform that action at this time.
0 commit comments