xlnt/.appveyor.yml
Thomas Fussell 7fc5033571 try again
2017-03-23 21:51:38 -04:00

46 lines
1.1 KiB
YAML

version: '{build}'
os: Visual Studio 2015
cache:
- vcpkg -> .appveyor.yml
platform:
- Win32
- x64
configuration:
- Debug
- Release
environment:
matrix:
- STATIC: OFF
- STATIC: ON
init: []
install:
- if not exist vcpkg git clone https://github.com/Microsoft/vcpkg
- cd vcpkg
- if not exist downloads mkdir downloads
- if not exist downloads\AlwaysAllowDownloads type nul > downloads\AlwaysAllowDownloads
- powershell -exec bypass scripts\bootstrap.ps1
- vcpkg install cryptopp:x64-windows zlib:x64-windows expat:x64-windows cryptopp:x86-windows zlib:x86-windows expat:x86-windows
- vcpkg integrate install
- cd ..
before_build:
- mkdir build
- cd build
- cmake -G "Visual Studio 14 2015" -D CMAKE_GENERATOR_PLATFORM=%platform% -D STATIC=%STATIC% -D SAMPLES=ON -D BENCHMARKS=ON -D CMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake ..
build:
project: build/tests/xlnt.test.sln
parallel: true
verbosity: minimal
test_script:
- cd build\tests\%configuration%
- set PATH=C:\projects\xlnt\vcpkg\installed\%platform%-windows\debug\bin;%PATH%
- xlnt.test.exe