Skip to content

chore(ci): add windows-latest check and test job - #19

Merged
Xuepoo merged 2 commits into
mainfrom
ctx-0013/chore-windows-ci
Aug 26, 2026
Merged

Xuepoo merged 2 commits into
mainfrom
ctx-0013/chore-windows-ci

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Links CarryCtx task CTX-0013. Closes #16.

Change

Add a windows job to .github/workflows/ci.yml so the workspace compiles and tests on windows-latest, giving Tier-1 Windows x86_64 (ADR-0002) CI evidence — CTX-0011 flagged that the bitty-pty ConPTY seam had never been compiled.

  • Toolchain: channel from rust-toolchain.toml (1.97.1) via bare rustup toolchain install (no-arg form installs the file's override; verified locally).
  • Commands: cargo check --workspace --all-targets --locked + cargo test --workspace --locked.
  • Existing fmt/clippy/actionlint jobs stay on ubuntu; same SHA-pinned checkout action, workflow-level permissions: contents: read and concurrency group apply.

Validation

  • just actionlint: clean.
  • act -n: CI/Quality gates dry-run green. The new Windows check and test job parses (exit 0 via act -n -j windows) but is skipped locally as an unsupported platform — the Windows leg can only be verified on GitHub runners, which this PR's checks do.

Xuepoo added 2 commits August 26, 2026 17:37
Compile and test the workspace on windows-latest so Tier-1 Windows
x86_64 support (ADR-0002) gets CI evidence instead of never compiling.
The job installs the channel from rust-toolchain.toml via bare
'rustup toolchain install' and runs cargo check --workspace
--all-targets --locked plus cargo test --workspace --locked. Existing
fmt/clippy/actionlint jobs stay on ubuntu to avoid toolchain drift.

Closes #16

CarryCtx: CTX-0013
The windows CI job added in the previous commit surfaced that
bitty-pty's cfg(windows) code had never been compiled: builder.rs used
a nonexistent OsStrExt::as_wide API (the real std API is encode_wide).
Replace it with equivalent u16-unit logic (nul scan via any(), byte len
via count() * size_of::<u16>()) and drop a dead OsString import in
platform/windows.rs.

Verified with cargo check --workspace --all-targets --locked --target
x86_64-pc-windows-gnu and just check on linux.

CarryCtx: CTX-0013
@Xuepoo
Xuepoo merged commit b117fa8 into main Aug 26, 2026
5 checks passed
@Xuepoo
Xuepoo deleted the ctx-0013/chore-windows-ci branch August 26, 2026 10:29
@Xuepoo Xuepoo added this to the v0.0.1 milestone Aug 29, 2026
@Xuepoo Xuepoo added chore Chore / maintenance area:platform Area: platform / windowing labels Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:platform Area: platform / windowing chore Chore / maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(ci): add windows-latest job for Tier-1 platform evidence

1 participant