mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Use depinst to install dependencies in CI. Increase the number of git fetch jobs to 8.
This commit is contained in:
parent
53d9aa9d2f
commit
424fea5881
14
.travis.yml
14
.travis.yml
@ -215,26 +215,20 @@ matrix:
|
|||||||
env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z
|
env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- GIT_FETCH_JOBS=8
|
||||||
- BOOST_BRANCH=develop
|
- BOOST_BRANCH=develop
|
||||||
- if [ "$TRAVIS_BRANCH" = "master" ]; then BOOST_BRANCH=master; fi
|
- if [ "$TRAVIS_BRANCH" = "master" ]; then BOOST_BRANCH=master; fi
|
||||||
- cd ..
|
- cd ..
|
||||||
- git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
|
- git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
|
||||||
- cd boost-root
|
- cd boost-root
|
||||||
|
- git submodule init tools/boostdep
|
||||||
- git submodule init tools/build
|
- git submodule init tools/build
|
||||||
- git submodule init tools/boost_install
|
- git submodule init tools/boost_install
|
||||||
- git submodule init libs/headers
|
- git submodule init libs/headers
|
||||||
- git submodule init libs/assert
|
|
||||||
- git submodule init libs/config
|
- git submodule init libs/config
|
||||||
- git submodule init libs/core
|
- git submodule update --jobs $GIT_FETCH_JOBS
|
||||||
- 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
|
|
||||||
- cp -r $TRAVIS_BUILD_DIR/* libs/utility
|
- 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
|
- ./bootstrap.sh
|
||||||
- ./b2 headers
|
- ./b2 headers
|
||||||
|
|
||||||
|
14
appveyor.yml
14
appveyor.yml
@ -23,26 +23,20 @@ environment:
|
|||||||
CXXSTD: 14,17
|
CXXSTD: 14,17
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- set GIT_FETCH_JOBS=8
|
||||||
- set BOOST_BRANCH=develop
|
- set BOOST_BRANCH=develop
|
||||||
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
|
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
|
||||||
- cd ..
|
- cd ..
|
||||||
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
|
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
|
||||||
- cd boost-root
|
- cd boost-root
|
||||||
|
- git submodule init tools/boostdep
|
||||||
- git submodule init tools/build
|
- git submodule init tools/build
|
||||||
- git submodule init tools/boost_install
|
- git submodule init tools/boost_install
|
||||||
- git submodule init libs/headers
|
- git submodule init libs/headers
|
||||||
- git submodule init libs/assert
|
|
||||||
- git submodule init libs/config
|
- git submodule init libs/config
|
||||||
- git submodule init libs/core
|
- git submodule update --jobs %GIT_FETCH_JOBS%
|
||||||
- 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
|
|
||||||
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\utility
|
- 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
|
- cmd /c bootstrap
|
||||||
- b2 -d0 headers
|
- b2 -d0 headers
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user