Skip to content

Commit 4953cd9

Browse files
authored
Merge pull request #485 from bvogelzang/appveyor-pacman-update
Fix appveyor builds with pacman update workaround
2 parents 32690ff + 6b3f9dd commit 4953cd9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ install:
2424
- C:\msys64\usr\bin\curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig
2525
- ridk exec bash -c "pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig"
2626
- ridk exec bash -c "pacman -U --noconfirm --config <(echo) msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz"
27+
# Update zstd and pacman first https://github.com/msys2/MSYS2-packages/issues/2300
28+
- C:\msys64\usr\bin\pacman --noconfirm --upgrade https://repo.msys2.org/msys/x86_64/zstd-1.4.7-1-x86_64.pkg.tar.xz # Must come First, or else pacman will install 1.4.8
29+
- C:\msys64\usr\bin\pacman --noconfirm --upgrade https://repo.msys2.org/msys/x86_64/pacman-5.2.2-5-x86_64.pkg.tar.xz
2730
# update packages
2831
- C:\msys64\usr\bin\pacman --noconfirm --ask 20 --sync --refresh --refresh --sysupgrade --sysupgrade
2932
# Kill all running msys2 binaries to avoid error "size of shared memory region changed".

0 commit comments

Comments
 (0)