2
0
mirror of https://github.com/boostorg/cmake.git synced 2026-01-19 04:02:15 +00:00

Remove manual specification of install dependencies from .yml files

This commit is contained in:
Peter Dimov
2020-01-12 18:05:56 +02:00
parent bcd764d485
commit 4eaab9cd5e
2 changed files with 14 additions and 17 deletions

View File

@@ -85,70 +85,70 @@ matrix:
- cmake --build .
- cmake --build . --target check
- env: TEST_BOOST_INSTALL=1 LIB=mp11 BOOST_INCLUDE_LIBRARIES=mp11
- env: TEST_BOOST_INSTALL=1 LIB=mp11
script:
- mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=$BOOST_INCLUDE_LIBRARIES ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=${BOOST_INCLUDE_LIBRARIES:-$LIB} ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake --build . --target install
- cd ../tools/cmake/test/$LIB && mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake --build .
- cmake --build . --target check
- env: TEST_BOOST_INSTALL=1 LIB=assert BOOST_INCLUDE_LIBRARIES="assert;config"
- env: TEST_BOOST_INSTALL=1 LIB=assert
script:
- mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=$BOOST_INCLUDE_LIBRARIES ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=${BOOST_INCLUDE_LIBRARIES:-$LIB} ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake --build . --target install
- cd ../tools/cmake/test/$LIB && mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake --build .
- cmake --build . --target check
- env: TEST_BOOST_INSTALL=1 LIB=assert BOOST_INCLUDE_LIBRARIES="assert;config" BOOST_INSTALL_LAYOUT=tagged
- env: TEST_BOOST_INSTALL=1 LIB=assert BOOST_INSTALL_LAYOUT=tagged
script:
- mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=$BOOST_INCLUDE_LIBRARIES ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=${BOOST_INCLUDE_LIBRARIES:-$LIB} ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake --build . --target install
- cd ../tools/cmake/test/$LIB && mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake --build .
- cmake --build . --target check
- env: TEST_BOOST_INSTALL=1 LIB=assert BOOST_INCLUDE_LIBRARIES="assert;config" BOOST_INSTALL_LAYOUT=versioned
- env: TEST_BOOST_INSTALL=1 LIB=assert BOOST_INSTALL_LAYOUT=versioned
script:
- mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=$BOOST_INCLUDE_LIBRARIES ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=${BOOST_INCLUDE_LIBRARIES:-$LIB} ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake --build . --target install
- cd ../tools/cmake/test/$LIB && mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake --build .
- cmake --build . --target check
- env: TEST_BOOST_INSTALL=1 LIB=atomic BOOST_INCLUDE_LIBRARIES="assert;atomic;config;static_assert;type_traits"
- env: TEST_BOOST_INSTALL=1 LIB=atomic
script:
- mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=$BOOST_INCLUDE_LIBRARIES ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=${BOOST_INCLUDE_LIBRARIES:-$LIB} ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake --build . --target install
- cd ../tools/cmake/test/$LIB && mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake --build .
- cmake --build . --target check
- env: TEST_BOOST_INSTALL=1 LIB=atomic BOOST_INCLUDE_LIBRARIES="assert;atomic;config;static_assert;type_traits" BOOST_INSTALL_LAYOUT=tagged BUILD_SHARED_LIBS=ON
- env: TEST_BOOST_INSTALL=1 LIB=atomic BOOST_INSTALL_LAYOUT=tagged BUILD_SHARED_LIBS=ON
script:
- mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=$BOOST_INCLUDE_LIBRARIES ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=${BOOST_INCLUDE_LIBRARIES:-$LIB} ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake --build . --target install
- cd ../tools/cmake/test/$LIB && mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake --build .
- cmake --build . --target check
- env: TEST_BOOST_INSTALL=1 LIB=atomic BOOST_INCLUDE_LIBRARIES="assert;atomic;config;static_assert;type_traits" BOOST_INSTALL_LAYOUT=versioned
- env: TEST_BOOST_INSTALL=1 LIB=atomic BOOST_INSTALL_LAYOUT=versioned
script:
- mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=$BOOST_INCLUDE_LIBRARIES ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON -DBOOST_INCLUDE_LIBRARIES=${BOOST_INCLUDE_LIBRARIES:-$LIB} ${BOOST_INSTALL_LAYOUT:+-DBOOST_INSTALL_LAYOUT=$BOOST_INSTALL_LAYOUT} ${BUILD_SHARED_LIBS:+-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS} ..
- cmake --build . --target install
- cd ../tools/cmake/test/$LIB && mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local ..

View File

@@ -43,15 +43,12 @@ environment:
- TEST_BOOST_INSTALL: 1
LIB: assert
BOOST_INCLUDE_LIBRARIES: assert;config
- TEST_BOOST_INSTALL: 1
LIB: atomic
BOOST_INCLUDE_LIBRARIES: assert;atomic;config;static_assert;type_traits
- TEST_BOOST_INSTALL: 1
LIB: atomic
BOOST_INCLUDE_LIBRARIES: assert;atomic;config;static_assert;type_traits
BUILD_SHARED_LIBS: ON
install: