forked from boostorg/assert
Update .travis.yml, appveyor.yml
This commit is contained in:
@@ -324,8 +324,9 @@ matrix:
|
|||||||
env: CMAKE=1
|
env: CMAKE=1
|
||||||
script:
|
script:
|
||||||
- mkdir __build__ && cd __build__
|
- mkdir __build__ && cd __build__
|
||||||
- cmake -DBOOST_ENABLE_CMAKE=1 -DBUILD_TESTING=ON -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=assert ..
|
- cmake -DBUILD_TESTING=ON -DBOOST_INCLUDE_LIBRARIES=assert ..
|
||||||
- ctest --output-on-failure -R boost_assert
|
- cmake --build . --target tests
|
||||||
|
- ctest --output-on-failure
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
env: CMAKE_SUBDIR=1
|
env: CMAKE_SUBDIR=1
|
||||||
@@ -342,7 +343,7 @@ matrix:
|
|||||||
env: CMAKE_INSTALL=1
|
env: CMAKE_INSTALL=1
|
||||||
script:
|
script:
|
||||||
- mkdir __build__ && cd __build__
|
- mkdir __build__ && cd __build__
|
||||||
- cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=assert -DCMAKE_INSTALL_PREFIX=~/.local ..
|
- cmake -DBOOST_INCLUDE_LIBRARIES=assert -DCMAKE_INSTALL_PREFIX=~/.local ..
|
||||||
- cmake --build . --target install
|
- cmake --build . --target install
|
||||||
- cd ../libs/assert/test/cmake_install_test && mkdir __build__ && cd __build__
|
- cd ../libs/assert/test/cmake_install_test && mkdir __build__ && cd __build__
|
||||||
- cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
|
- cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
|
||||||
|
12
appveyor.yml
12
appveyor.yml
@@ -61,11 +61,11 @@ test_script:
|
|||||||
- if "%CMAKE%%CMAKE_SUBDIR%%CMAKE_INSTALL%" == "" b2 -j 3 libs/assert/test toolset=%TOOLSET% %CXXSTD% %ADDRMD%
|
- if "%CMAKE%%CMAKE_SUBDIR%%CMAKE_INSTALL%" == "" b2 -j 3 libs/assert/test toolset=%TOOLSET% %CXXSTD% %ADDRMD%
|
||||||
|
|
||||||
- if not "%CMAKE%" == "" mkdir __build__ && cd __build__
|
- if not "%CMAKE%" == "" mkdir __build__ && cd __build__
|
||||||
- if not "%CMAKE%" == "" cmake -DBOOST_ENABLE_CMAKE=1 -DBUILD_TESTING=ON -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=assert ..
|
- if not "%CMAKE%" == "" cmake -DBUILD_TESTING=ON -DBOOST_INCLUDE_LIBRARIES=assert ..
|
||||||
- if not "%CMAKE%" == "" ctest --output-on-failure -R boost_assert -C Debug
|
- if not "%CMAKE%" == "" cmake --build . --target tests --config Debug & ctest --output-on-failure -C Debug
|
||||||
- if not "%CMAKE%" == "" ctest --output-on-failure -R boost_assert -C Release
|
- if not "%CMAKE%" == "" cmake --build . --target tests --config Release & ctest --output-on-failure -C Release
|
||||||
- if not "%CMAKE%" == "" ctest --output-on-failure -R boost_assert -C MinSizeRel
|
- if not "%CMAKE%" == "" cmake --build . --target tests --config MinSizeRel & ctest --output-on-failure -C MinSizeRel
|
||||||
- if not "%CMAKE%" == "" ctest --output-on-failure -R boost_assert -C RelWithDebInfo
|
- if not "%CMAKE%" == "" cmake --build . --target tests --config RelWithDebInfo & ctest --output-on-failure -C RelWithDebInfo
|
||||||
|
|
||||||
- if not "%CMAKE_SUBDIR%" == "" cd libs/assert/test/cmake_subdir_test && mkdir __build__ && cd __build__
|
- if not "%CMAKE_SUBDIR%" == "" cd libs/assert/test/cmake_subdir_test && mkdir __build__ && cd __build__
|
||||||
- if not "%CMAKE_SUBDIR%" == "" cmake ..
|
- if not "%CMAKE_SUBDIR%" == "" cmake ..
|
||||||
@@ -75,7 +75,7 @@ test_script:
|
|||||||
- if not "%CMAKE_SUBDIR%" == "" cmake --build . --config RelWithDebInfo && cmake --build . --target check --config RelWithDebInfo
|
- if not "%CMAKE_SUBDIR%" == "" cmake --build . --config RelWithDebInfo && cmake --build . --target check --config RelWithDebInfo
|
||||||
|
|
||||||
- if not "%CMAKE_INSTALL%" == "" mkdir __build__ && cd __build__
|
- if not "%CMAKE_INSTALL%" == "" mkdir __build__ && cd __build__
|
||||||
- if not "%CMAKE_INSTALL%" == "" cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES="assert;config" -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix ..
|
- if not "%CMAKE_INSTALL%" == "" cmake -DBOOST_INCLUDE_LIBRARIES=assert -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix ..
|
||||||
- if not "%CMAKE_INSTALL%" == "" cmake --build . --target install --config Debug
|
- if not "%CMAKE_INSTALL%" == "" cmake --build . --target install --config Debug
|
||||||
- if not "%CMAKE_INSTALL%" == "" cmake --build . --target install --config Release
|
- if not "%CMAKE_INSTALL%" == "" cmake --build . --target install --config Release
|
||||||
- if not "%CMAKE_INSTALL%" == "" cd ../libs/assert/test/cmake_install_test && mkdir __build__ && cd __build__
|
- if not "%CMAKE_INSTALL%" == "" cd ../libs/assert/test/cmake_install_test && mkdir __build__ && cd __build__
|
||||||
|
Reference in New Issue
Block a user