From e2ca3f9a3c89e73c988f8de068e416eeaa6059c1 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 13 Jul 2016 22:13:56 +0200 Subject: [PATCH] appveyor.yml: try MSYS2 --- appveyor.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 54840a39c7..b8e92085d6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,13 +6,21 @@ clone_depth: 5 version: "{branch}.{build}" environment: global: + # Go stuff GOPATH: c:\gopath - PATH: c:\mingw\bin;%PATH% - GO: c:\go-x86\bin\go - GOROOT: c:\go-x86 + GO: c:\go\bin\go + GOROOT: c:\go + # MSYS2 stuff + MSYS2_ARCH: x86_64 + MSYSTEM: MINGW64 + PATH: C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH% install: - "%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 build_script: