diff --git a/.appveyor.yml b/.appveyor.yml index c1a4b63af1..96fd20813e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,21 +1,28 @@ +image: Visual Studio 2017 + environment: + MSYSTEM: MINGW64 # use MSYS2 shell matrix: - - MSYSTEM: MINGW64 + - CFG: MINGW64 + - CFG: MSVC + +cache: c:\tools\vcpkg\installed\ install: - - C:\msys64\usr\bin\bash -lc "pacman --noconfirm --ask 20 -Syu" # update core - - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Su" # update rest - # upgrading gcc to 6.x fails - - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Suuy mingw-w64-x86_64-ninja mingw-w64-x86_64-cmake git" + # upgrade git for vcpkg: https://github.com/appveyor/ci/issues/2097 + - if %CFG% == MSVC (choco upgrade git -y & vcpkg install mpir:x64-windows) build_script: - - C:\msys64\usr\bin\bash -lc "exec 0