[libc-commits] [libc] [llvm] Implement Automated Line and MC/DC Coverage CI Workflows (PR #219165)
Tapiwa Gonga via libc-commits
libc-commits at lists.llvm.org
Mon Sep 7 03:35:38 PDT 2026
tapiwagonga wrote:
> @tapiwagonga libc-full-* files look almost identical. Would it be possible to merged those into one workflow and use a matrix? Same thing for the libc-patch-* files. It looks like there is a lot of cut and paste duplication.
@tstellar I have consolidated both sets of workflows into single matrix pipelines. The libc-full-* workflows are now merged into `libc-full-coverage.yml`, and the libc-patch-* workflows into `libc-patch-coverage.yml`. I used a matrix to parameterise standard branch coverage versus MC/DC. Each workflow uses `strategy.matrix.include` to define two parallel jobs, one standard and one MC/DC. All the common steps are shared in a single pipeline, while the matrix swaps in the specific CMake options, compiler flags, and `llvm-cov` report options for each run.
https://github.com/llvm/llvm-project/pull/219165
More information about the libc-commits
mailing list