xlnt/.appveyor.yml

36 lines
813 B
YAML
Raw Normal View History

2015-11-22 03:26:08 +08:00
version: '{build}'
2017-01-16 23:17:54 +08:00
os: Visual Studio 2015
configuration:
- Debug
environment:
matrix:
2016-10-28 11:09:13 +08:00
- STATIC: OFF
- STATIC: ON
2015-11-22 03:26:08 +08:00
init: []
install:
- git clone https://github.com/Microsoft/vcpkg
- cd vcpkg
2017-03-11 23:42:36 +08:00
- git checkout 47b53b9015deaa2f569d788447254c8bc3de96a9
- mkdir downloads
- type nul > downloads\AlwaysAllowDownloads
- powershell -exec bypass scripts\bootstrap.ps1
- vcpkg install cryptopp zlib expat
- vcpkg integrate install
- cd ..
before_build:
- cmake -H. -Bbuild -G"Visual Studio 14 2015" -DSTATIC=%STATIC% -DSAMPLES=ON -DBENCHMARKS=ON -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake
build:
project: build/tests/xlnt.test.sln
parallel: true
verbosity: minimal
2015-11-22 03:26:08 +08:00
test_script:
- cd build\tests\Debug
- set PATH=C:\projects\xlnt\vcpkg\installed\x86-windows\debug\bin;%PATH%
- xlnt.test.exe