CI: build the release binary on Windows #2264

Open
Creaa wants to merge 1 commit from upstream-pr/2274 into main
Creaa commented 2026-11-25 12:01:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Creaa on 2026-11-25T12:01:47Z.


The Windows CI job builds and tests the debug workspace. Add a build of the optimized executable used for smoke runs so CI catches release-only compile and link failures. Fixes #2264.

What is in it

  • One step after the existing Windows build and tests runs cargo build --release -p xcl --bins.

Tested

  • Windows 11 build 26300, x86_64 MSVC, rustc 1.100.0, i7-13700F, RTX 4070 with driver 617.14. Head a2a1cf35d389b521dc2021c2886650e77d519c4e.
  • cargo build --release -p xcl --bins succeeded locally in 65 seconds. target\release\xcl.exe --version printed xcl 0.1.0 and exited 0.
  • .\scripts\test.ps1 --show-output ran the debug workspace build and cargo test --workspace -- --test-threads=4 --show-output. Cargo reported 1250 passed, 0 failed, 46 ignored. The suite logged 27 GPU skips within passing tests (20 wave64, 3 unsupported wave32 per-lane cases, 2 debug-layer cases, 1 heap-window case and 1 driver-cache case).

Not tested

  • GNU target and retail title. The change is confined to the Windows MSVC workflow.

AI use

  • OpenAI Codex (GPT-6, exact variant unknown) added the workflow step, ran the local checks and wrote this description.
<!-- greyfinch-sync:ivall/xcl:issue:5490926914 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2274). Originally posted by [Creaa](https://github.com/Creaa) on 2026-11-25T12:01:47Z. --- The Windows CI job builds and tests the debug workspace. Add a build of the optimized executable used for smoke runs so CI catches release-only compile and link failures. Fixes #2264. **What is in it** - One step after the existing Windows build and tests runs `cargo build --release -p xcl --bins`. **Tested** - Windows 11 build 26300, x86_64 MSVC, rustc 1.100.0, i7-13700F, RTX 4070 with driver 617.14. Head `a2a1cf35d389b521dc2021c2886650e77d519c4e`. - `cargo build --release -p xcl --bins` succeeded locally in 65 seconds. `target\release\xcl.exe --version` printed `xcl 0.1.0` and exited 0. - `.\scripts\test.ps1 --show-output` ran the debug workspace build and `cargo test --workspace -- --test-threads=4 --show-output`. Cargo reported 1250 passed, 0 failed, 46 ignored. The suite logged 27 GPU skips within passing tests (20 wave64, 3 unsupported wave32 per-lane cases, 2 debug-layer cases, 1 heap-window case and 1 driver-cache case). **Not tested** - GNU target and retail title. The change is confined to the Windows MSVC workflow. **AI use** - OpenAI Codex (GPT-6, exact variant unknown) added the workflow step, ran the local checks and wrote this description.
DavidM1911 commented 2026-11-25 18:04:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T17:09:17Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: 1038 passed, 1 failed in one parallel run; the failing test passes on a single-threaded rerun (1039/0). Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7169085884 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2274#issuecomment-7169085884). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T17:09:17Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: 1038 passed, 1 failed in one parallel run; the failing test passes on a single-threaded rerun (1039/0). Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun. Thanks!
github-actions[bot] commented 2026-11-29 07:43:56 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:43:56Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7252655419 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2274#issuecomment-7252655419). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T07:43:56Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 07:43:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:43:30Z.


Triage (#1607) – head a2a1cf3

No open or merged PR makes the same change. Main's ci.yml still builds only the debug profile through scripts/test.ps1. The conflict comes from main having changed the test step's arguments (--nocapture). The release build adds time to a job with a 45-minute timeout and shares one cache key with the debug build, so the cache gets bigger.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7304404229 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2274#issuecomment-7304404229). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T07:43:30Z. --- **Triage (#1607)** – head a2a1cf3 No open or merged PR makes the same change. Main's `ci.yml` still builds only the debug profile through `scripts/test.ps1`. The conflict comes from main having changed the test step's arguments (`--nocapture`). The release build adds time to a job with a 45-minute timeout and shares one cache key with the debug build, so the cache gets bigger. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2274:upstream-pr/2274'
git switch 'upstream-pr/2274'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2274'
git switch 'upstream-pr/2274'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2274'
git switch 'upstream-pr/2274'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2274'
git switch 'main'
git merge --squash 'upstream-pr/2274'
git switch 'main'
git merge --ff-only 'upstream-pr/2274'
git switch 'main'
git merge 'upstream-pr/2274'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!2264
No description provided.