Commit da31861
authored
ci: add clippy and cargo test gates via self-hosted macOS runner (#14)
Closes #5.
Adds a `clippy-and-test` job to `.github/workflows/ci.yml` that runs on
`self-hosted-macos-26-arm64` for every Rust-touching PR/push, gated on
the same `needs: changes` path-filter as the existing `deny` and `fmt`
jobs and protected with the fork-PR + repository guard pattern used in
`release.yml` and `pipeline-parallel-ci.yml`.
Steps:
- `cargo build --release --features metal,accelerate`
- `cargo clippy --all-targets --features metal,accelerate -- -D warnings`
- `cargo test --release --features metal,accelerate`
CUDA gating intentionally stays exclusive to `release.yml`: PR-level
CUDA verification would require a Linux self-hosted runner and double
the cost for limited additional safety on PRs that do not touch
CUDA-specific code paths.
`CONTRIBUTING.md` quality-gate list updated to reflect the new CI
enforcement.
Merged with the clippy-and-test job still in-progress on the first
run (cold MLX C++ build can take 15-30+ minutes); a follow-up fix PR
will be filed if that first run uncovers an environmental issue.1 parent 3b80a5a commit da31861
2 files changed
Lines changed: 38 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
70 | 75 | | |
71 | 76 | | |
72 | 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
0 commit comments