2015-11-22 03:26:08 +08:00
|
|
|
version: '{build}'
|
2017-01-16 23:17:54 +08:00
|
|
|
os: Visual Studio 2015
|
2016-07-05 11:07:41 +08:00
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
|
2017-03-20 02:37:59 +08:00
|
|
|
cache:
|
|
|
|
- vcpkg -> .appveyor.yml
|
|
|
|
|
2016-07-05 11:07:41 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2016-10-28 11:09:13 +08:00
|
|
|
- STATIC: OFF
|
|
|
|
- STATIC: ON
|
2016-07-05 11:07:41 +08:00
|
|
|
|
2015-11-22 03:26:08 +08:00
|
|
|
init: []
|
2017-02-28 13:07:37 +08:00
|
|
|
install:
|
2017-03-20 11:26:37 +08:00
|
|
|
- if not exist vcpkg git clone https://github.com/Microsoft/vcpkg
|
2017-02-28 13:07:37 +08:00
|
|
|
- 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
|
2017-02-28 13:07:37 +08:00
|
|
|
- powershell -exec bypass scripts\bootstrap.ps1
|
2017-03-21 07:27:00 +08:00
|
|
|
- vcpkg install cryptopp:x64-windows zlib:x64-windows expat:x64-windows
|
2017-02-28 13:07:37 +08:00
|
|
|
- vcpkg integrate install
|
|
|
|
- cd ..
|
|
|
|
|
2016-07-05 11:07:41 +08:00
|
|
|
before_build:
|
2017-03-21 07:27:00 +08:00
|
|
|
- cmake -H. -Bbuild -G"Visual Studio 14 2015 Win64" -DSTATIC=%STATIC% -DSAMPLES=ON -DBENCHMARKS=ON -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake
|
2016-07-05 11:07:41 +08:00
|
|
|
|
|
|
|
build:
|
2016-12-17 17:22:43 +08:00
|
|
|
project: build/tests/xlnt.test.sln
|
2016-07-05 11:07:41 +08:00
|
|
|
parallel: true
|
|
|
|
verbosity: minimal
|
|
|
|
|
2015-11-22 03:26:08 +08:00
|
|
|
test_script:
|
2017-03-12 06:28:03 +08:00
|
|
|
- cd build\tests\Debug
|
2017-03-22 07:35:57 +08:00
|
|
|
- set PATH=C:\projects\xlnt\vcpkg\installed\x64-windows\debug\bin;%PATH%
|
2016-10-26 08:21:58 +08:00
|
|
|
- xlnt.test.exe
|