Files
ortools-clone/appveyor.yml
Corentin Le Molgat 85621ab547 Add appveyor.yml
2018-01-19 15:03:25 +01:00

34 lines
861 B
YAML

version: '{build}'
shallow_clone: true
platform: x64
environment:
MSBUILD_FLAGS:
#MSBUILD_FLAGS: /verbosity:minimal /maxcpucount
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
matrix:
fast_finish: true
before_build:
- git config --global user.email "ci@appveyor.com"
- git config --global user.name "CI"
- set PATH=C:\Python36-x64;%PATH%
- bash -c "which python"
- bash -c "python -V"
- bash -c "python -m pip install virtualenv wheel"
- cmake --version
- cmake -H. -Bbuild -G "%CMAKE_GENERATOR%"
build_script:
- cmake --build build --config Release --target ALL_BUILD -- %MSBUILD_FLAGS%
test_script:
- cmake --build build --config Release --target RUN_TESTS