Skip to content

Commit 036e143

Browse files
committed
Allow for C: drives on Windows 2025 runners
Since the drive letter differs between Window 2022 and 2025 runners. Also relates to commit 64cfa6c.
1 parent 07b3c4a commit 036e143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ jobs:
836836
# Update source code paths from macOS tracefiles to match Linux.
837837
sed -i -Ee 's|^SF:/Users|SF:/home|' artifacts/*.macos-*/**/coverage.info
838838
# Update source code paths from Windows tracefiles to match Linux, and remove all \r chars from line endings.
839-
sed -i -Ee 's|\r$||' -e 's|\\|/|g' -e 's|^SF:D:/a|SF:/home/runner/work|' artifacts/*.win*/**/coverage.info
839+
sed -i -Ee 's|\r$||' -e 's|\\|/|g' -e 's|^SF:[CD]:/a|SF:/home/runner/work|' artifacts/*.win*/**/coverage.info
840840
# Combine all tracefiles into one. Note, ignoring inconsistencies between Clang and GCC reports :|
841841
lcov --ignore-errors inconsistent $(find artifacts -name '*.info' -type f -printf '-a %p\n') -o coverage.info
842842
# Generate the HTML report. Note, ignoring inconsistencies between Clang and GCC reports :|

0 commit comments

Comments
 (0)