appveyor: explicitly build tests targets
This commit is contained in:
parent
ff1017d41f
commit
fdfb87af4c
@ -16,7 +16,6 @@ environment:
|
|||||||
matrix:
|
matrix:
|
||||||
- APPVEYOR_SHARED_LIBS: OFF
|
- APPVEYOR_SHARED_LIBS: OFF
|
||||||
APPVEYOR_CMAKE_GENERATOR: "Visual Studio 12 2013"
|
APPVEYOR_CMAKE_GENERATOR: "Visual Studio 12 2013"
|
||||||
APPVEYOR_RUN_CHECK: ON
|
|
||||||
|
|
||||||
- APPVEYOR_SHARED_LIBS: ON
|
- APPVEYOR_SHARED_LIBS: ON
|
||||||
APPVEYOR_CMAKE_GENERATOR: "Visual Studio 12 2013"
|
APPVEYOR_CMAKE_GENERATOR: "Visual Studio 12 2013"
|
||||||
@ -25,7 +24,7 @@ build:
|
|||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmake --version
|
- cmake --version
|
||||||
- cd c:\projects\gmio.git
|
- cd %APPVEYOR_BUILD_FOLDER%
|
||||||
- mkdir build && cd build
|
- mkdir build && cd build
|
||||||
- cmake .. ^
|
- cmake .. ^
|
||||||
-G "%APPVEYOR_CMAKE_GENERATOR%" ^
|
-G "%APPVEYOR_CMAKE_GENERATOR%" ^
|
||||||
@ -38,5 +37,7 @@ build_script:
|
|||||||
-DGMIO_BUILD_BENCHMARK_OPENCASCADE=OFF ^
|
-DGMIO_BUILD_BENCHMARK_OPENCASCADE=OFF ^
|
||||||
-DGMIO_BUILD_TESTS_FAKE_SUPPORT=ON
|
-DGMIO_BUILD_TESTS_FAKE_SUPPORT=ON
|
||||||
- cmake --build .
|
- cmake --build .
|
||||||
- cmake --build . --target ZERO_CHECK
|
- cmake --build . --target test_core
|
||||||
- if defined APPVEYOR_RUN_CHECK ( cd tests && ctest . -V -C %CONFIGURATION% )
|
- cmake --build . --target test_stl
|
||||||
|
- set PATH=%APPVEYOR_BUILD_FOLDER%\build\src\%CONFIGURATION%;%PATH%
|
||||||
|
- cd tests && ctest . -V -C %CONFIGURATION%
|
||||||
|
Loading…
Reference in New Issue
Block a user