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
|
|
|
|
|
|
|
|
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:
|
|
|
|
- git clone https://github.com/Microsoft/vcpkg
|
|
|
|
- cd vcpkg
|
2017-03-11 23:42:36 +08:00
|
|
|
- git checkout 47b53b9015deaa2f569d788447254c8bc3de96a9
|
2017-03-10 10:35:52 +08:00
|
|
|
- mkdir downloads
|
|
|
|
- type nul > downloads\AlwaysAllowDownloads
|
2017-02-28 13:07:37 +08:00
|
|
|
- powershell -exec bypass scripts\bootstrap.ps1
|
2017-03-11 07:48:22 +08:00
|
|
|
- vcpkg install cryptopp zlib expat
|
2017-02-28 13:07:37 +08:00
|
|
|
- vcpkg integrate install
|
|
|
|
- cd ..
|
|
|
|
|
2016-07-05 11:07:41 +08:00
|
|
|
before_build:
|
2017-03-12 00:22:34 +08:00
|
|
|
- vcpkg\downloads\cmake-3.8.0-rc1-win32-x86\bin\cmake.exe -H. -Bbuild -G"Visual Studio 14 2015" -DSTATIC=%STATIC% -DSAMPLES=ON -DBENCHMARKS=ON -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ROOT=vcpkg/downloads/cmake-3.8.0-rc1-win32-x86 -DCRYPTOPP_LIBRARY=vcpkg/installed/x86-windows/lib/cryptopp-static.lib
|
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:
|
2016-10-28 11:19:20 +08:00
|
|
|
- cd build/bin
|
2016-10-26 08:21:58 +08:00
|
|
|
- xlnt.test.exe
|