From 8f010cce8eaefcdd7a5206e456b2e7633f2d67d3 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Wed, 5 Apr 2017 17:02:34 +0200 Subject: [PATCH] AppVeyor: use parallel builds My group now has a subscription to AppVeyor pro, which also permits running parallel builds on the open source projects. --- .appveyor.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index b908d0763..0c8e193c9 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -3,6 +3,8 @@ image: - Visual Studio 2017 - Visual Studio 2015 test: off +build: + parallel: true platform: - x64 - x86 @@ -35,6 +37,6 @@ install: build_script: - cmake -G "%CMAKE_GENERATOR%" -A "%CMAKE_ARCH%" -DPYBIND11_WERROR=ON - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" -- cmake --build . --config Release --target pytest -- /v:m /logger:%MSBuildLogger% -- cmake --build . --config Release --target test_cmake_build -- /v:m /logger:%MSBuildLogger% +- cmake --build . --config Release --target pytest -- /v:m /m /logger:%MSBuildLogger% +- cmake --build . --config Release --target test_cmake_build -- /v:m /m /logger:%MSBuildLogger% on_failure: if exist "tests\test_cmake_build" type tests\test_cmake_build\*.log