AppVeyor: use parallel builds

My group now has a subscription to AppVeyor pro, which also permits
running parallel builds on the open source projects.
This commit is contained in:
Wenzel Jakob 2017-04-05 17:02:34 +02:00
parent 82ece940fb
commit 8f010cce8e

View File

@ -3,6 +3,8 @@ image:
- Visual Studio 2017 - Visual Studio 2017
- Visual Studio 2015 - Visual Studio 2015
test: off test: off
build:
parallel: true
platform: platform:
- x64 - x64
- x86 - x86
@ -35,6 +37,6 @@ install:
build_script: build_script:
- cmake -G "%CMAKE_GENERATOR%" -A "%CMAKE_ARCH%" -DPYBIND11_WERROR=ON - cmake -G "%CMAKE_GENERATOR%" -A "%CMAKE_ARCH%" -DPYBIND11_WERROR=ON
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" - 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 pytest -- /v:m /m /logger:%MSBuildLogger%
- cmake --build . --config Release --target test_cmake_build -- /v: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 on_failure: if exist "tests\test_cmake_build" type tests\test_cmake_build\*.log