Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ jobs:
repository: cppalliance/ci-automation
path: ci-automation

- name: Patch CI script for extra source directories
run: |
# The CI script only symlinks 'include/' and 'src/' at boost-root level,
# but this repo also has src_zlib/ and src_brotli/. After fix_paths.py
# strips 'libs/http/', gcovr can't find these files without symlinks.
sed -i '/ln -sfn "\$BOOST_CI_SRC_FOLDER\/src" /a\
for _d in "$BOOST_CI_SRC_FOLDER"/src_*; do [ -d "$_d" ] && ln -sfn "$_d" "$(pwd)/$(basename "$_d")" 2>/dev/null || true; done' \
ci-automation/scripts/lcov-jenkins-gcc-13.sh

- name: Build and run tests & collect coverage data
run: |
set -xe
Expand Down
Loading