From f563d50d42328b2c6e6ea7fd7f524a408fe489a6 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Fri, 2 Jul 2021 19:19:48 +0300 Subject: [PATCH] Use more git fetch jobs to speed up clones. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5cff93..7fd850f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,6 +150,7 @@ jobs: - name: Setup Boost run: | + GIT_FETCH_JOBS=8 echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY LIBRARY=${GITHUB_REPOSITORY#*/} echo LIBRARY: $LIBRARY @@ -166,7 +167,7 @@ jobs: cd boost-root cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY git submodule update --init tools/boostdep - python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY + python tools/boostdep/depinst/depinst.py --git_args "--jobs $GIT_FETCH_JOBS" $LIBRARY ./bootstrap.sh ./b2 -d0 headers