From 4b4016110a71a5b84b9d19faf20238d20926088d Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Sat, 25 Jul 2020 23:20:29 +0200 Subject: Appveyor msys2 workaround (#7002) * Work around appveyor not being able to update msys2 There has been a change to msys2 package maintainers, meaning that the packages are now signed with a different key: https://www.msys2.org/news/#2020-06-29-new-packagers Import the new keys manually until appveyor image is updated with a new msys2-keyring package * Explicitly kill msys2 before the second pacman call --- .appveyor.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.appveyor.yml') diff --git a/.appveyor.yml b/.appveyor.yml index be4beda5918..65fab2f279a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -35,7 +35,12 @@ for: install: - set "PATH=C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Windows\System32;C:\Windows;%PATH%" - set MSYSTEM=MINGW64 + - bash -lc "curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz" + - bash -lc "curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig" + - bash -lc "pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig" + - bash -lc "pacman -U --noconfirm msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz" - bash -lc "pacman -Syu --noconfirm" + - taskkill /f /fi "MODULES eq msys-2.0.dll" - bash -lc "pacman -Syu --noconfirm" build_script: - bash -lc "exec 0