Skip to content

Commit

Permalink
Fetch the same git submods for posix and windows CI jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Aug 17, 2024
1 parent b76ee1d commit dae1d13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@ jobs:
cd ..
git clone -b $BOOST_BRANCH --depth 10 https://github.com/boostorg/boost.git boost-root
cd boost-root
git submodule update --init --depth 10 --jobs 2 tools/boostdep tools/inspect libs/filesystem
git submodule update --init --depth 10 --jobs 2 tools/boostdep libs/filesystem tools/inspect
rm -rf libs/$LIBRARY/*
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
python tools/boostdep/depinst/depinst.py --include benchmark --include example --include examples --include tools --include test --git_args "--depth 10 --jobs 3" $LIBRARY
python tools/boostdep/depinst/depinst.py --git_args "--depth 10 --jobs 3" filesystem
./bootstrap.sh
./b2 -d0 headers
./b2 -j4 variant=debug tools/inspect/build
./b2 variant=debug tools/inspect/build
- name: Run tests
run: |
cd ../boost-root
./b2 -j3 libs/$LIBRARY/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} variant=debug,release "${{matrix.cxxflags}}" "${{matrix.linkflags}}" "${{matrix.launcher}}"
./b2 libs/$LIBRARY/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} variant=debug,release "${{matrix.cxxflags}}" "${{matrix.linkflags}}" "${{matrix.launcher}}"
dist/bin/inspect libs/$LIBRARY
- name: Test boost namespace stripping
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
git clone -b %BOOST_BRANCH% --depth 10 https://github.com/boostorg/boost.git boost-root
cd boost-root
xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\
git submodule update --init tools/boostdep
git submodule update --init --depth 10 --jobs 2 tools/boostdep libs/filesystem
python tools/boostdep/depinst/depinst.py --include benchmark --include example --include examples --include tools --include test --git_args "--jobs 3" %LIBRARY%
python tools/boostdep/depinst/depinst.py --git_args "--depth 10 --jobs 3" filesystem
cmd /c bootstrap
Expand Down

0 comments on commit dae1d13

Please sign in to comment.