From 7e7e1ff12e22921549fe8b479ad5c76132e83e12 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 29 May 2017 14:50:39 +0300 Subject: [PATCH] Added VS2017 Release targets to AppVeyor configuration Removed VS2015 Win32 Debug target to speedup build process --- .appveyor.yml | 45 +++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 48b51af0b..457f0883c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -6,29 +6,34 @@ branches: clone_depth: 10 -os: Visual Studio 2015 +environment: + matrix: + - GENERATOR: "Visual Studio 14 2015" + CONFIGURATION: Release + TOOLSET: v140_xp + APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015" + - GENERATOR: "Visual Studio 14 2015 Win64" + CONFIGURATION: Release + TOOLSET: v140_xp + APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015" + - GENERATOR: "Visual Studio 15 2017" + CONFIGURATION: Release + TOOLSET: v141_xp + APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017" + - GENERATOR: "Visual Studio 15 2017 Win64" + CONFIGURATION: Release + TOOLSET: v141_xp + APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017" + - GENERATOR: "Visual Studio 14 2015 Win64" + CONFIGURATION: Debug + TOOLSET: v140 + APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015" -platform: - - Win32 - - x64 - -configuration: - - Debug - - Release - -before_build: +build_script: - md build - cd build - - if "%PLATFORM%"=="Win32" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015 - - if "%PLATFORM%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015 Win64 - - cmake -G "%CMAKE_GENERATOR_NAME%" -T "v140_xp" - -DCMAKE_BUILD_TYPE="%CONFIGURATION%" - .. - -build: - project: build\GZDoom.sln - parallel: true - verbosity: minimal + - cmake -G "%GENERATOR%" -T "%TOOLSET%" .. + - cmake --build . --config "%CONFIGURATION%" after_build: - set OUTPUT_DIR=%APPVEYOR_BUILD_FOLDER%\build\%CONFIGURATION%\