@@ -11,6 +11,25 @@ install:
1111- bash -lc "pacman -U --noconfirm --config <(echo) msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz"
1212# Kill gpg-agent due to bug in MSYS
1313- TaskKill /IM gpg-agent.exe /F
14+ # Download and unpack zstd for win64 to unpack MSYS packages
15+ - appveyor DownloadFile https://github.com/facebook/zstd/releases/download/v1.4.8/zstd-v1.4.8-win64.zip
16+ - 7z e zstd-v1.4.8-win64.zip -ozstd -y
17+ # Download and install zstd for MSYS due to bug in MSYS
18+ - appveyor DownloadFile http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-zstd-1.4.8-2-any.pkg.tar.zst
19+ - zstd\zstd.exe -d mingw-w64-x86_64-zstd-1.4.8-2-any.pkg.tar.zst
20+ - dir
21+ - 7z a -tgzip mingw-w64-x86_64-zstd-1.4.8-2-any.pkg.tar.gz mingw-w64-x86_64-zstd-1.4.8-2-any.pkg.tar
22+ - bash -lc "cd /c/projects/python-tksvg; ls -l; pacman --noconfirm -U mingw-w64-x86_64-zstd-1.4.8-2-any.pkg.tar.gz"
23+ # Download and install pacman for MSYS due to bug in MSYS
24+ - appveyor DownloadFile http://repo.msys2.org/msys/x86_64/pacman-5.2.2-9-x86_64.pkg.tar.zst
25+ - 7z e zstd-v1.4.8-win64.zip -ozstd -y
26+ - zstd\zstd.exe -d pacman-5.2.2-9-x86_64.pkg.tar.zst
27+ - dir
28+ - 7z a -tgzip pacman-5.2.2-9-x86_64.pkg.tar.gz pacman-5.2.2-9-x86_64.pkg.tar
29+ - bash -lc "cd /c/projects/python-tksvg; ls -l; pacman --noconfirm --nodeps --nodeps -U pacman-5.2.2-9-x86_64.pkg.tar.gz"
30+ # Cleanup after bug workarounds
31+ - bash -lc "rm -rf zstd"
32+ - bash -lc "rm -rf *.tar *.zst"
1433# Update known packages
1534- bash -lc "pacman --needed --noconfirm -Syu"
1635- bash -lc "pacman --needed --noconfirm -Sy"
0 commit comments