From 96a5965b6ed2f3723b5c71e6ef32a008b8b0c107 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Tue, 9 Aug 2016 12:09:37 -0600 Subject: [PATCH] Use pre-installed MinGW on Appveyor Currently out Appveyor CI downloads and stashes a custom MinGW installation. However the builder already provides both 64 and 32 bit installations of MinGW. This patch changes our CI to use those instead. I'm hoping this will fix issues where the g++ is broken due to the Appveyor package caching semantics. --- appveyor.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index b332e758..0bbf3511 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,20 +20,19 @@ environment: - compiler: gcc-4.9.2-posix generator: "MinGW Makefiles" - arch: i686 + cxx_path: 'C:\MinGW\bin' - compiler: gcc-4.9.2-posix generator: "MinGW Makefiles" - arch: x86_64 + cxx_path: 'C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin' matrix: fast_finish: true install: - - if "%compiler%"=="gcc-4.9.2-posix" (for /f %%a in ('python mingw.py --quiet --version "4.9.2" --arch "%arch%" --threading "posix" --location "C:\mingw-builds"') do @set "compiler_path=%%a") - - if not "%compiler_path%"=="" (set "PATH=%PATH%;%compiler_path%") # git bash conflicts with MinGW makefiles - if "%generator%"=="MinGW Makefiles" (set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%") + - if not "%cxx_path%"=="" (set "PATH=%PATH%;%cxx_path%") build_script: - md _build -Force @@ -51,5 +50,3 @@ artifacts: - path: '_build/Testing/**/*.xml' name: test_results -cache: - - C:\mingw-builds