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-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:
|
2016-12-11 01:05:13 +08:00
|
|
|
- git submodule update --init
|
2017-03-10 10:45:57 +08:00
|
|
|
- cmake -H. -Bbuild -G"Visual Studio 14 2015" -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:
|
2016-10-28 11:19:20 +08:00
|
|
|
- cd build/bin
|
2016-10-26 08:21:58 +08:00
|
|
|
- xlnt.test.exe
|