Repository navigation
chore(ci): add windows-latest check and test job - #19
Merged
Merged
Conversation
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
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Links CarryCtx task CTX-0013. Closes #16.
Change
Add a
windowsjob to.github/workflows/ci.ymlso the workspace compiles and tests onwindows-latest, giving Tier-1 Windows x86_64 (ADR-0002) CI evidence — CTX-0011 flagged that the bitty-pty ConPTY seam had never been compiled.rust-toolchain.toml(1.97.1) via barerustup toolchain install(no-arg form installs the file's override; verified locally).cargo check --workspace --all-targets --locked+cargo test --workspace --locked.permissions: contents: readand concurrency group apply.Validation
just actionlint: clean.act -n:CI/Quality gatesdry-run green. The newWindows check and testjob parses (exit 0 viaact -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.