Skip to content

Commit 4b51627

Browse files
committed
Revert MSYS2 CI workaround
1 parent 2d4d0db commit 4b51627

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

src/ci/scripts/install-msys2-packages.sh

-11
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,6 @@ IFS=$'\n\t'
66
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
77

88
if isWindows; then
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
19-
209
pacman -S --noconfirm --needed base-devel ca-certificates make diffutils tar \
2110
binutils
2211

src/ci/scripts/install-msys2.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ 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 chocolatey updates MSYS2
2120
choco install -s . msys2 \
22-
--params="/InstallDir:$(ciCheckoutPath)/msys2 /NoPath /NoUpdate" -y --no-progress
21+
--params="/InstallDir:$(ciCheckoutPath)/msys2 /NoPath" -y --no-progress
2322
rm msys2.nupkg chocolatey-core.extension.nupkg
2423
mkdir -p "$(ciCheckoutPath)/msys2/home/${USERNAME}"
2524
ciCommandAddPath "$(ciCheckoutPath)/msys2/usr/bin"

0 commit comments

Comments
 (0)