From 308ee8a7eb4a642986680c3fce3ae189d214bb3e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 10 Jul 2014 09:34:26 -0700 Subject: [PATCH] Clean appveyor config. --- appveyor.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5dd40bda..44421566 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,7 +2,6 @@ environment: matrix: - Build: msvc - Build: mingw - Generator: -GMinGW Makefiles configuration: - Debug @@ -23,11 +22,13 @@ install: before_build: - ps: | + echo $env:Configuration if ($env:Build -eq "mingw") { # Remove path to Git bin directory from PATH because it breaks MinGW config. $env:PATH = $env:PATH -replace "C:\\Program Files \(x86\)\\Git\\bin","" + $generator = "-GMinGW Makefiles" } - cmake -DFMT_EXTRA_TESTS=ON -DCMAKE_BUILD_TYPE=$env:Configuration "$env:Generator" . + cmake -DFMT_EXTRA_TESTS=ON -DCMAKE_BUILD_TYPE=$env:Configuration "$generator" . build_script: - ps: |