mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Enable static build for appveyor.
and cleanup for appveyor build script.
This commit is contained in:
parent
627e6d438e
commit
3e9a228538
28
appveyor.yml
28
appveyor.yml
|
@ -1,14 +1,26 @@
|
||||||
version: '{build}'
|
version: '{build}'
|
||||||
os: Visual Studio 2015
|
os: Visual Studio 2015
|
||||||
|
|
||||||
|
configuration:
|
||||||
|
- Debug
|
||||||
|
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- SHARED: ON
|
||||||
|
STATIC: OFF
|
||||||
|
- SHARED: OFF
|
||||||
|
STATIC: ON
|
||||||
|
|
||||||
init: []
|
init: []
|
||||||
install: []
|
install: []
|
||||||
build_script:
|
before_build:
|
||||||
- git submodule init
|
- git submodule update --init --recursive
|
||||||
- git submodule update
|
- cmake -H. -Bbuild -G "Visual Studio 14 2015 Win64" -D SHARED=%SHARED% -D STATIC=%STATIC% -D TESTS=1
|
||||||
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
|
|
||||||
- mkdir build
|
build:
|
||||||
- cd build
|
project: build\xlnt.sln
|
||||||
- cmake -G "Visual Studio 14 2015 Win64" -D SHARED=1 -D TESTS=1 ..
|
parallel: true
|
||||||
- cmake --build . --config Debug
|
verbosity: minimal
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- bin\xlnt.test.exe
|
- bin\xlnt.test.exe
|
||||||
|
|
Loading…
Reference in New Issue
Block a user