xlnt/.appveyor.yml

42 lines
972 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
cache:
- vcpkg -> .appveyor.yml
2017-03-24 08:40:59 +08:00
platform:
- x86
- x64
configuration:
- Debug
- Release
2015-11-22 03:26:08 +08:00
init: []
install:
2017-03-20 11:26:37 +08:00
- if not exist vcpkg git clone https://github.com/Microsoft/vcpkg
- cd vcpkg
2017-03-20 11:26:37 +08:00
- 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:
2017-03-24 08:40:59 +08:00
- cmake -H. -Bbuild -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:
2017-03-24 08:40:59 +08:00
- cd build\tests\${configuration}
- set PATH=C:\projects\xlnt\vcpkg\installed\${platform}-windows\debug\bin;%PATH%
- xlnt.test.exe