From 2c0c2ca698386463a258591c3a24b6e979810a96 Mon Sep 17 00:00:00 2001 From: Isaac Nickaein Date: Sat, 5 Jan 2019 14:15:33 -0800 Subject: [PATCH 1/2] Specify target platform in generator name --- appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 705f53fa..fe61f07d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,17 +26,17 @@ environment: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 platform: x64 FLAGS: "" - GENERATOR: Visual Studio 14 2015 + GENERATOR: Visual Studio 14 2015 Win64 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 platform: x64 FLAGS: "" - GENERATOR: Visual Studio 15 2017 + GENERATOR: Visual Studio 15 2017 Win64 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 platform: x64 FLAGS: "/permissive- /std:c++latest /utf-8" - GENERATOR: Visual Studio 15 2017 + GENERATOR: Visual Studio 15 2017 Win64 init: - cmake --version From f16432832caaa6aa7d881b069ea7ae6a22eae05a Mon Sep 17 00:00:00 2001 From: Isaac Nickaein Date: Sat, 12 Jan 2019 19:27:26 +0330 Subject: [PATCH 2/2] Increase stack size for VS2017 Win x64 on Appveyor --- appveyor.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index fe61f07d..0dfc34e9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,37 +5,44 @@ environment: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 COMPILER: mingw platform: x86 - FLAGS: "" + CXX_FLAGS: "" + LINKER_FLAGS: "" GENERATOR: Ninja - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 platform: x86 - FLAGS: "" + CXX_FLAGS: "" + LINKER_FLAGS: "" GENERATOR: Visual Studio 14 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 platform: x86 - FLAGS: "" + CXX_FLAGS: "" + LINKER_FLAGS: "" GENERATOR: Visual Studio 15 2017 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 platform: x86 - FLAGS: "/permissive- /std:c++latest /utf-8" + CXX_FLAGS: "/permissive- /std:c++latest /utf-8" + LINKER_FLAGS: "" GENERATOR: Visual Studio 15 2017 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 platform: x64 - FLAGS: "" + CXX_FLAGS: "" + LINKER_FLAGS: "" GENERATOR: Visual Studio 14 2015 Win64 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 platform: x64 - FLAGS: "" + CXX_FLAGS: "" + LINKER_FLAGS: "" GENERATOR: Visual Studio 15 2017 Win64 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 platform: x64 - FLAGS: "/permissive- /std:c++latest /utf-8" + CXX_FLAGS: "/permissive- /std:c++latest /utf-8 /F4000000" + LINKER_FLAGS: "/STACK:4000000" GENERATOR: Visual Studio 15 2017 Win64 init: @@ -50,7 +57,7 @@ install: - if "%COMPILER%"=="mingw" g++ --version before_build: - - cmake . -G "%GENERATOR%" -DCMAKE_CXX_FLAGS="%FLAGS%" -DCMAKE_IGNORE_PATH="C:/Program Files/Git/usr/bin" + - cmake . -G "%GENERATOR%" -DCMAKE_CXX_FLAGS="%CXX_FLAGS%" -DCMAKE_EXE_LINKER_FLAGS="%LINKER_FLAGS%" -DCMAKE_IGNORE_PATH="C:/Program Files/Git/usr/bin" build_script: - cmake --build . --config Release