Skip to content

Commit 32690ff

Browse files
authored
fix freetds install errors by updating packages (#483)
1 parent cce0596 commit 32690ff

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

appveyor.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,16 @@ install:
1919
- perl --version
2020
- ruby --version
2121
- gem --version
22-
22+
# Update keyring according to https://www.msys2.org/news/#2020-06-29-new-packagers
23+
- C:\msys64\usr\bin\curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
24+
- C:\msys64\usr\bin\curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig
25+
- ridk exec bash -c "pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig"
26+
- ridk exec bash -c "pacman -U --noconfirm --config <(echo) msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz"
27+
# update packages
28+
- C:\msys64\usr\bin\pacman --noconfirm --ask 20 --sync --refresh --refresh --sysupgrade --sysupgrade
29+
# Kill all running msys2 binaries to avoid error "size of shared memory region changed".
30+
# See https://github.com/msys2/MSYS2-packages/issues/258
31+
- powershell -Command "Get-Process | Where-Object {$_.path -like 'C:\msys64*'} | Stop-Process"
2332
# prevent freetds to link to wrong ws2_32 lib on i686-w64-mingw32
2433
- c:/msys64/usr/bin/rm /usr/lib/w32api/libws2_32.a
2534
# Set up project prerequisits

0 commit comments

Comments
 (0)