mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
35 lines
731 B
YAML
35 lines
731 B
YAML
version: '{build}'
|
|
os: Visual Studio 2015
|
|
|
|
configuration:
|
|
- Debug
|
|
|
|
environment:
|
|
matrix:
|
|
- STATIC: OFF
|
|
- STATIC: ON
|
|
|
|
init: []
|
|
install:
|
|
- git clone https://github.com/Microsoft/vcpkg
|
|
- cd vcpkg
|
|
- mkdir downloads
|
|
- type nul > downloads\AlwaysAllowDownloads
|
|
- powershell -exec bypass scripts\bootstrap.ps1
|
|
- vcpkg install cryptopp zlib expat
|
|
- vcpkg integrate install
|
|
- dir C:/projects/xlnt/vcpkg/installed/x86-windows/lib
|
|
- 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
|
|
|
|
test_script:
|
|
- cd build/bin
|
|
- xlnt.test.exe
|