summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritchyny <itchyny@hatena.ne.jp>2020-10-08 15:20:11 +0900
committerWilliam Langford <wlangfor@gmail.com>2021-05-01 14:34:26 -0400
commitd18b2d078c2383d9472d0a0a226e07009025574f (patch)
tree57806511d068cc7af6f857baf8d4b84b340f9990
parentcc4efc49e1eedb98289347bf264c50c5c8656e7c (diff)
Fix msys2 installation on AppVeyor
Ref: https://www.msys2.org/news/#2020-06-29-new-packagers
-rw-r--r--appveyor.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 7b14e70c..281d7d5c 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -12,6 +12,11 @@ clone_script:
install:
# update msys2
+ - C:\msys64\usr\bin\bash -lc "curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz"
+ - C:\msys64\usr\bin\bash -lc "curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig"
+ - C:\msys64\usr\bin\bash -lc "pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig"
+ - C:\msys64\usr\bin\bash -lc "pacman -U --noconfirm msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz"
+ - ps: Get-Process | Where-Object {$_.path -like 'C:\msys64*'} | Stop-Process
- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Su"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S autoconf automake bison flex git"