From 067e288289053726b893aa09ea9917a493064157 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 24 Jun 2018 16:29:03 +0200 Subject: [PATCH] :construction_worker: set build type --- appveyor.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 2ba09bbd..375093f5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,6 +2,16 @@ version: '{build}' environment: matrix: + - COMPILER: mingw + platform: x86 + FLAGS: "" + GENERATOR: MinGW Makefiles + + - COMPILER: mingw + platform: x64 + FLAGS: "" + GENERATOR: MinGW Makefiles + - os: Visual Studio 2015 platform: x86 FLAGS: "" @@ -32,15 +42,8 @@ environment: FLAGS: "/permissive- /std:c++latest /utf-8" GENERATOR: Visual Studio 15 2017 - - COMPILER: mingw - platform: x86 - FLAGS: "" - GENERATOR: MinGW Makefiles - - - COMPILER: mingw - platform: x64 - FLAGS: "" - GENERATOR: MinGW Makefiles +matrix: + fast_finish: true init: - cmake --version @@ -50,10 +53,10 @@ install: - if "%COMPILER%"=="mingw" set PATH=C:\MinGW\bin;%PATH% before_build: - - cmake . -G "%GENERATOR%" -DCMAKE_CXX_FLAGS="%FLAGS%" -DCMAKE_BUILD_TYPE=Release + - cmake . -G "%GENERATOR%" -DCMAKE_CXX_FLAGS="%FLAGS%" build_script: - - cmake --build . + - cmake --build . --config Release test_script: - ctest -C Release -V -j