ci: undisable workflows, drop gcc-13 coverage row, keep clang-20 llvm-cov as sole codecov reporter

- restore the 8 .yml.disabled workflows back to .yml
- drop the gcc-13 gcov coverage matrix row; native clang-20 llvm-cov is
  now the only codecov reporter
- update minimal_matrix indices to match
- remove the TEMP narrowing block that filtered to just the llvm-cov row
- log line says '7 configs (build x6 + clang-20 llvm-cov coverage)' to
  reflect the new shape
This commit is contained in:
Nicholas Dudfield
2026-05-05 09:44:48 +07:00
parent 6b3fb5ea14
commit 3834ec5997
9 changed files with 4 additions and 24 deletions

View File

@@ -71,19 +71,6 @@ jobs:
"configuration": "Debug",
"job_type": "build"
},
{
"compiler_id": "gcc-13-libstdcxx",
"compiler": "gcc",
"cc": "gcc-13",
"cxx": "g++-13",
"gcov": "gcov-13",
"compiler_version": 13,
"stdlib": "default",
"configuration": "Debug",
"job_type": "coverage",
"coverage_tool": "gcov",
"coverage_format": "xml"
},
{
# Latest stable Clang for the most accurate source-based
# coverage mapping (newer language features, fewer bugs in
@@ -153,9 +140,8 @@ jobs:
# Minimal matrix for PRs and feature branches
minimal_matrix = [
full_matrix[1], # gcc-13 (middle-ground gcc)
full_matrix[2], # gcc-13 coverage
full_matrix[3], # clang-20 llvm-cov coverage
full_matrix[4] # clang-14 (mature, stable clang)
full_matrix[2], # clang-20 llvm-cov coverage
full_matrix[3] # clang-14 (mature, stable clang)
]
# Determine which matrix to use based on the target branch
@@ -230,20 +216,14 @@ jobs:
# Select the appropriate matrix
if use_full:
if force_full:
print(f"Using FULL matrix (7 configs) - forced by [ci-nix-full-matrix] tag")
print(f"Using FULL matrix (7 configs (build x6 + clang-20 llvm-cov coverage)) - forced by [ci-nix-full-matrix] tag")
else:
print(f"Using FULL matrix (7 configs) - targeting main branch")
print(f"Using FULL matrix (7 configs (build x6 + clang-20 llvm-cov coverage)) - targeting main branch")
matrix = full_matrix
else:
print(f"Using MINIMAL matrix (3 configs) - feature branch/PR")
matrix = minimal_matrix
# TEMP (coverage-llm branch): narrow the matrix to just the new
# clang-20 llvm-cov coverage row so we can iterate on it without
# burning runners on the rest. MUST be reverted before merging.
matrix = [e for e in matrix if e.get("coverage_tool") == "llvm"]
print(f"TEMP override: matrix narrowed to {len(matrix)} llvm-cov row(s)")
# Add runs_on based on job_type
for entry in matrix:
if entry.get("job_type") == "coverage":