Skip to content

Commit

Permalink
Use a separate submodule update step with parallel checkouts to speed…
Browse files Browse the repository at this point in the history
…up CI job startup.
  • Loading branch information
Lastique committed Dec 18, 2018
1 parent 5889d32 commit 4ee7e0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,11 @@ install:
- cd ..
- git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
- cd boost-root
- git submodule update --init tools/build
- git submodule update --init tools/boostdep
- git submodule update --init tools/boost_install
- git submodule update --init libs/headers
- git submodule init tools/build
- git submodule init tools/boostdep
- git submodule init tools/boost_install
- git submodule init libs/headers
- git submodule update --jobs 4
- cp -r $TRAVIS_BUILD_DIR/* libs/filesystem
- python tools/boostdep/depinst/depinst.py filesystem
- ./bootstrap.sh
Expand Down
9 changes: 5 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ install:
- cd ..
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
- cd boost-root
- git submodule update --init tools/build
- git submodule update --init tools/boostdep
- git submodule update --init tools/boost_install
- git submodule update --init libs/headers
- git submodule init tools/build
- git submodule init tools/boostdep
- git submodule init tools/boost_install
- git submodule init libs/headers
- git submodule update --jobs 4
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\filesystem
- python tools/boostdep/depinst/depinst.py filesystem
- cmd /c bootstrap
Expand Down

0 comments on commit 4ee7e0f

Please sign in to comment.