summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2020-10-16 00:59:07 +0300
committerJames Ross-Gowan <rossy@jrg.systems>2020-10-17 00:00:35 +1100
commitb8104a013d958e3f177891b22949fc2e66eab955 (patch)
treeeddac9ddfe597449f08f005cc69eaa58957e9d7c
parent925d6e12054cba7be2ff7e1846e78a05c8140319 (diff)
downloadmpv-b8104a013d958e3f177891b22949fc2e66eab955.tar.bz2
mpv-b8104a013d958e3f177891b22949fc2e66eab955.tar.xz
ci/appveyor: attempt to work around outdated msys2
Based on the workarounds utilized in the MAME project: 1. mamedev/mame@4b4016110a71a5b84b9d19faf20238d20926088d 2. mamedev/mame@2d1bf3ed5cb1f4cdcc40b286a78c24f398217535 Co-authored-by: James Ross-Gowan <rossy@jrg.systems>
-rw-r--r--appveyor.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 1b272a5f96..92f229aa3a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -15,6 +15,12 @@ shallow_clone: true
test: off
install:
+ # Work around age/brokenness of Appveyor's msys2 by adding the new
+ # maintainer's keyring.
+ - 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"
+ - bash -lc "pacman -U --noconfirm msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz"
# Support for Ada and Objective-C was removed from MSYS2. GCC won't update if
# these packages are installed.
- >-
@@ -23,6 +29,8 @@ install:
mingw-w64-x86_64-gcc-objc
# Update core packages
- C:\msys64\usr\bin\pacman -Syyuu --noconfirm --noprogressbar --ask=20
+ # Explicitly kill any remaining msys2 processes after core update
+ - taskkill /f /fi "MODULES eq msys-2.0.dll"
# Update non-core packages
- C:\msys64\usr\bin\pacman -Suu --noconfirm --noprogressbar --ask=20
# Install required MSYS2 packages