diff --git a/.travis.yml b/.travis.yml index f43f599..86af1dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -215,26 +215,20 @@ matrix: env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z install: + - GIT_FETCH_JOBS=8 - BOOST_BRANCH=develop - if [ "$TRAVIS_BRANCH" = "master" ]; then BOOST_BRANCH=master; fi - cd .. - git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root + - git submodule init tools/boostdep - git submodule init tools/build - git submodule init tools/boost_install - git submodule init libs/headers - - git submodule init libs/assert - git submodule init libs/config - - git submodule init libs/core - - git submodule init libs/preprocessor - - git submodule init libs/static_assert - - git submodule init libs/throw_exception - - git submodule init libs/type_traits - - git submodule init libs/container_hash - - git submodule init libs/integer - - git submodule init libs/detail - - git submodule update --jobs 4 + - git submodule update --jobs $GIT_FETCH_JOBS - cp -r $TRAVIS_BUILD_DIR/* libs/utility + - python tools/boostdep/depinst/depinst.py $DEPINST_ARG_INCLUDE_EXAMPLES --git_args "--jobs $GIT_FETCH_JOBS" utility - ./bootstrap.sh - ./b2 headers diff --git a/appveyor.yml b/appveyor.yml index f3f801c..2262009 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -23,26 +23,20 @@ environment: CXXSTD: 14,17 install: + - set GIT_FETCH_JOBS=8 - set BOOST_BRANCH=develop - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master - cd .. - git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root + - git submodule init tools/boostdep - git submodule init tools/build - git submodule init tools/boost_install - git submodule init libs/headers - - git submodule init libs/assert - git submodule init libs/config - - git submodule init libs/core - - git submodule init libs/preprocessor - - git submodule init libs/static_assert - - git submodule init libs/throw_exception - - git submodule init libs/type_traits - - git submodule init libs/container_hash - - git submodule init libs/integer - - git submodule init libs/detail - - git submodule update --jobs 4 + - git submodule update --jobs %GIT_FETCH_JOBS% - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\utility + - python tools/boostdep/depinst/depinst.py --git_args "--jobs %GIT_FETCH_JOBS%" utility - cmd /c bootstrap - b2 -d0 headers