Run documentation samples on Appveyor

This commit is contained in:
Crzyrndm 2018-07-28 16:51:08 +12:00
parent e0d5cdbd85
commit 6a4edfad40
2 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,7 @@ environment:
init: []
before_build:
- del /S /F build
- mkdir build
- cd build
- cmake -G "Visual Studio 14 2015" -D CMAKE_GENERATOR_PLATFORM=%platform% -D STATIC=%STATIC% -D SAMPLES=ON -D BENCHMARKS=ON ..
@ -28,5 +29,5 @@ build:
verbosity: minimal
test_script:
- cd tests\%configuration%
- xlnt.test.exe
- tests\%configuration%\xlnt.test.exe
- samples\%configuration%\sample-documentation.exe

View File

@ -41,3 +41,4 @@ foreach(SAMPLE_SOURCE IN ITEMS ${SAMPLE_SOURCES})
$<TARGET_FILE_DIR:${SAMPLE_EXECUTABLE}>)
endif()
endforeach()
#