Commit 7372315
ci(cross-platform): Linux-only for now (defer macOS/Windows) (#36)
* ci(cross-platform): gate on Linux, make macOS/Windows non-blocking
Focus CI on Linux now and defer full cross-platform support to a later
effort. The FFI is currently POSIX-only — probe.zig uses fcntl/F.GETFL
for non-blocking sockets and cli.zig uses posix.getenv — so Windows does
not compile (F is void on Windows; posix.getenv is unavailable there) and
macOS is build-only. Rather than block every PR on targets that are not
supported yet:
- Linux: gates as before (build + integration tests; continue-on-error false)
- macOS + Windows: still build for early signal, but continue-on-error true,
so they no longer fail the workflow or gate merges.
Full Windows/macOS support (fcntl -> ioctlsocket(FIONBIO),
posix.getenv -> std.process.getEnvVarOwned, and whatever else surfaces)
is tracked for a dedicated cross-platform effort.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LvsZgNxFbeqfRmrVFNhJ8G
* ci(cross-platform): drop macOS/Windows legs (Linux-only for now)
Supersedes the continue-on-error approach in the previous commit. Job-level
continue-on-error stops the overall workflow run from failing, but the
individual macOS/Windows jobs still report conclusion=failure to the Checks
API — i.e. they keep showing red and firing failure webhooks, which is not
"defer them". Removing the legs from the matrix is the clean way to set those
expectations aside: no Windows red, no noise.
Linux is the sole platform until the dedicated cross-platform effort re-adds
macOS/Windows (Windows needs fcntl -> ioctlsocket(FIONBIO) and
posix.getenv -> std.process.getEnvVarOwned). The matrix structure is kept so
re-adding os/name there is a one-line change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LvsZgNxFbeqfRmrVFNhJ8G
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent cc0b75b commit 7372315
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| |||
0 commit comments