appveyor.yml: try MSYS2

This commit is contained in:
Felix Lange 2016-07-13 22:13:56 +02:00
parent ab73c3fd24
commit e2ca3f9a3c

View file

@ -6,13 +6,21 @@ clone_depth: 5
version: "{branch}.{build}" version: "{branch}.{build}"
environment: environment:
global: global:
# Go stuff
GOPATH: c:\gopath GOPATH: c:\gopath
PATH: c:\mingw\bin;%PATH% GO: c:\go\bin\go
GO: c:\go-x86\bin\go GOROOT: c:\go
GOROOT: c:\go-x86 # MSYS2 stuff
MSYS2_ARCH: x86_64
MSYSTEM: MINGW64
PATH: C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
install: install:
- "%GO% version" - "%GO% version"
# Update MSYS2, install MinGW gcc
- bash -lc "pacman --noconfirm --sync --refresh --refresh pacman"
- bash -lc "pacman --noconfirm --sync --refresh --refresh --sysupgrade --sysupgrade"
- bash -lc "pacman --noconfirm -S --needed base-devel"
- gcc --version - gcc --version
build_script: build_script: