Consolidate required CI gate (#115)
Some checks failed
CI / required (push) Failing after 3m47s

This commit is contained in:
2026-08-12 16:46:45 +00:00
parent b9415bedaa
commit fb8b17b02d
45 changed files with 2313 additions and 1448 deletions

View File

@@ -104,11 +104,7 @@ def check_benchmarks_and_ci() -> None:
if not (crate / "benches" / f"{name}.rs").is_file():
raise SystemExit(f"missing {name} benchmark source")
workflows = {
"imaging-meshing": ROOT / ".gitea" / "workflows" / "imaging-meshing.yml",
"jpeg2000": ROOT / ".gitea" / "workflows" / "jpeg2000.yml",
"skia": ROOT / ".gitea" / "workflows" / "skia.yml",
}
workflows = {"consolidated": ROOT / ".gitea" / "workflows" / "ci.yml"}
for name, path in workflows.items():
if not path.is_file():
raise SystemExit(f"missing {name} native-feature workflow")
@@ -121,6 +117,10 @@ def check_benchmarks_and_ci() -> None:
f"{name} workflow must use only ubuntu-latest, found: "
+ ", ".join(unsupported)
)
text = path.read_text()
for marker in ("required-gate", "METACRATE_SKIA_ARCHIVE", "OPENJPEG_PREFIX"):
if marker not in text:
raise SystemExit(f"{name} workflow is missing {marker}")
def main() -> None: