1
0
forked from boostorg/mp11

Add -DBUILD_TESTING=ON to .yml files; it's not default anymore

This commit is contained in:
Peter Dimov
2021-03-19 04:12:10 +02:00
parent 085980c876
commit b6451c4ae4
2 changed files with 2 additions and 2 deletions

View File

@@ -382,7 +382,7 @@ matrix:
env: BOOST_CMAKE_TEST=1
script:
- mkdir __build__ && cd __build__
- cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=mp11 ..
- cmake -DBOOST_ENABLE_CMAKE=1 -DBUILD_TESTING=ON -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=mp11 ..
- ctest --output-on-failure -R boost_mp11
install:

View File

@@ -68,7 +68,7 @@ test_script:
- if "%CMAKE%%CMAKE_SUBDIR%%CMAKE_INSTALL%" == "" b2 -j3 libs/mp11/test toolset=%TOOLSET% %CXXSTD% address-model=32,64 variant=debug,release embed-manifest-via=linker
- if not "%CMAKE%" == "" mkdir __build__ && cd __build__
- if not "%CMAKE%" == "" cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=mp11 ..
- if not "%CMAKE%" == "" cmake -DBOOST_ENABLE_CMAKE=1 -DBUILD_TESTING=ON -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=mp11 ..
- if not "%CMAKE%" == "" cmake --build . --config %CONFIG% && ctest --output-on-failure -R boost_mp11 -C %CONFIG%
- if not "%CMAKE_SUBDIR%" == "" cd libs/mp11/test/cmake_subdir_test && mkdir __build__ && cd __build__