improve Appveyor config

This commit is contained in:
Nguyen Anh Quynh 2016-03-09 09:35:00 +08:00
parent 276775f5cc
commit 26261be244

View file

@ -5,7 +5,6 @@ platform:
environment:
global:
MSYS2_BASEVER: 20150512
MSYS2_ARCH: x86_64
matrix:
- HOST_ARCH_ARG: --host=x86_64-w64-mingw32
@ -15,11 +14,7 @@ environment:
install:
- C:\"Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
- appveyor DownloadFile "http://kent.dl.sourceforge.net/project/msys2/Base/%MSYS2_ARCH%/msys2-base-%MSYS2_ARCH%-%MSYS2_BASEVER%.tar.xz" -FileName "msys2.tar.xz"
- 7z x msys2.tar.xz
- 7z x msys2.tar > NUL
- msys64\usr\bin\bash -lc ""
- msys64\usr\bin\bash -lc "for i in {1..3}; do pacman --noconfirm -Suy python2 make pkg-config mingw-w64-x86_64-glib2 mingw-w64-x86_64-toolchain && break || sleep 15; done"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Suy python2 make pkg-config mingw-w64-x86_64-glib2 mingw-w64-x86_64-toolchain"
build_script:
- make.sh cross-win64