Commit 159c06e
ci: add Tier A GitHub Actions regression gate
What:
New .github/workflows/ci.yml running the core regression gate on
GitHub-hosted Linux runners: tri-arch release build, host --lib tests,
clippy missing_safety_doc, and the pure-Python check-* baseline lints.
Why:
"Gated in CI" was true only locally (make check-all + the git hooks).
This makes it literally true on a server: a reviewer cloning the repo
sees a green workflow running exactly what the prose claims. Mirrors
CLAUDE.md § Tri-Architecture Regression Discipline (ADR-013).
Detail:
- build (3-target matrix): cargo build --release for x86_64/aarch64/
riscv64 -unknown-none -- the make check-all payload, parallelized,
fail-fast off so each arch reports independently.
- test: cargo test --lib, retargeted to x86_64-unknown-linux-gnu (the
Makefile's x86_64-apple-darwin only overrides .cargo/config.toml's
bare-metal default; --lib tests are pure logic). RUST_MIN_STACK
matches the Makefile.
- clippy: cargo clippy --target x86_64-unknown-none --release --lib,
enforcing [lints.clippy] missing_safety_doc = "deny". No -D warnings,
so the gate is exactly the manifest deny.
- lints: the six don't-grow-the-baseline gates, one step each.
Toolchain + the three targets come from rust-toolchain.toml;
Swatinem/rust-cache keeps repeat runs fast.
Out of scope (documented in the workflow header):
- Tier B (Kani, make verify-all) -- separate workflow, heavier setup.
- Tier C (QEMU boot smoke) -- needs qemu + image tooling + seed signing.
- The commit-msg/pre-commit/pre-push provenance hooks stay local; they
enforce Claude-authored-commit provenance and have no meaning in CI.
Verification:
- 5/6 baseline lints confirmed green locally; check-deferrals greened by
the preceding baseline resync.
- No Rust source changed, so no tri-arch build run locally; the build +
linux-gnu host-test retarget are confirmed by the first CI run (not
reproducible on the Apple-Silicon host).
Staged files:
.github/workflows/ci.yml
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 64be2b0 commit 159c06e
1 file changed
Lines changed: 146 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
0 commit comments