ci: harden the lcov coverage step for GCC gcov data
VoidBuildSystem CI / 1 · Requirements (push) Successful in 5s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m19s
VoidBuildSystem CI / 2A · Linux build (coverage) (push) Successful in 3m46s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m52s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 3m50s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 4m34s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 6m9s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 21s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 25s
VoidBuildSystem CI / 3A · Linux test (coverage) (push) Failing after 1m32s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 41s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 6m11s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 6m22s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Skipped
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Skipped
VoidBuildSystem CI / 5 · Release (push) Skipped
VoidBuildSystem CI / 1 · Requirements (push) Successful in 5s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m19s
VoidBuildSystem CI / 2A · Linux build (coverage) (push) Successful in 3m46s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m52s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 3m50s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 4m34s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 6m9s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 21s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 25s
VoidBuildSystem CI / 3A · Linux test (coverage) (push) Failing after 1m32s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 41s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 6m11s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 6m22s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Skipped
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Skipped
VoidBuildSystem CI / 5 · Release (push) Skipped
lcov 2.x reports 'negative' hit counts and inconsistent function records with GCC 16 gcov data; ignore those categories and set geninfo_unexecuted_blocks. Verified locally: a --coverage build of the SDK and core suites produces a coverage.info that lcov summarizes.
This commit is contained in:
1 parent
fe453bd601
commit
bb1059651b
2 files changed
+5
-4
No files matched your search
@@ -173,9 +173,10 @@ jobs:
|
||||
if: matrix.variant == 'coverage'
|
||||
run: |
|
||||
lcov --capture --directory "build/linux-coverage" --output-file coverage.info \
|
||||
--ignore-errors mismatch,source --rc branch_coverage=0
|
||||
lcov --summary coverage.info
|
||||
lcov --list coverage.info | head -40
|
||||
--ignore-errors mismatch,source,unused,empty,negative,inconsistent \
|
||||
--rc branch_coverage=0 --rc geninfo_unexecuted_blocks=1
|
||||
lcov --summary coverage.info --ignore-errors inconsistent,corrupt
|
||||
lcov --list coverage.info --ignore-errors inconsistent,corrupt | head -40
|
||||
- name: Upload the test log
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in new issue
Block a user