We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7cff74 commit 3ae8ba2Copy full SHA for 3ae8ba2
1 file changed
.github/workflows/code-coverage.yml
@@ -92,6 +92,15 @@ jobs:
92
repository: cppalliance/ci-automation
93
path: ci-automation
94
95
+ - name: Patch CI script for extra source directories
96
+ run: |
97
+ # The CI script only symlinks 'include/' and 'src/' at boost-root level,
98
+ # but this repo also has src_zlib/ and src_brotli/. After fix_paths.py
99
+ # strips 'libs/http/', gcovr can't find these files without symlinks.
100
+ sed -i '/ln -sfn "\$BOOST_CI_SRC_FOLDER\/src" /a\
101
+ for _d in "$BOOST_CI_SRC_FOLDER"/src_*; do [ -d "$_d" ] && ln -sfn "$_d" "$(pwd)/$(basename "$_d")" 2>/dev/null || true; done' \
102
+ ci-automation/scripts/lcov-jenkins-gcc-13.sh
103
+
104
- name: Build and run tests & collect coverage data
105
run: |
106
set -xe
0 commit comments