From 6a4edfad403c90327fcb14a9f62b625d94948c54 Mon Sep 17 00:00:00 2001 From: Crzyrndm Date: Sat, 28 Jul 2018 16:51:08 +1200 Subject: [PATCH] Run documentation samples on Appveyor --- .appveyor.yml | 5 +++-- samples/CMakeLists.txt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index a016f954..ade2c3cc 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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 diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index f8ad70da..fdeaab4d 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -41,3 +41,4 @@ foreach(SAMPLE_SOURCE IN ITEMS ${SAMPLE_SOURCES}) $) endif() endforeach() +# \ No newline at end of file