Repository navigation
Commit ef151c8
authored
ci: add windows-latest clippy-only leg to the test suite (bd-3j09mpn8) (#915)
Windows compile breakage keeps reaching main undetected because every
CI leg runs on Linux/macOS: Unix-only APIs (std::os::unix,
OsStringExt::from_vec) and asymmetric #[cfg] gates pass clippy there
and only fail on a Windows machine. The recent instances (quarto-mcp-
launcher non-UTF-8 test, xtask capture-* dead code) were all
compile-level failures that clippy --all-targets on Windows catches
without running a single test.
Add a windows-clippy job running the same gate as the existing
"Clippy (deny warnings)" step:
cargo clippy --workspace --all-targets --profile ci -- -D warnings.
Compile-only, so it skips the matrix job's pandoc/typst/tree-sitter/
node setup (verified on a fresh Windows checkout: green, ~8 min
cold). A full Windows test leg remains separate work.
No cargo xtask verify counterpart: verify already runs this exact
clippy command on the host platform, so this is the same gate on
another OS rather than a new gating step.1 parent 5ffacc4 commit ef151c8
1 file changed
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
302 | 335 | | |
303 | 336 | | |
304 | 337 | | |
| |||
0 commit comments