CI: build and tests on a Windows runner (no GPU) #143
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!143
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/143/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@tiagonleal on GitHub · 2026-11-23 15:08 UTC · original
tiagonleal:ci/windows-build-test→main· +70 −1 · 3 files · 3 commits · merged 2026-11-23 21:08 UTCFrom the note on #125: "CI for build + non-GPU tests … worth doing".
.github/workflows/ci.ymlruns on every push tomainand on every pull request, on a GitHub Windows runner (windows-2025, about 2 minutes with the cargo cache). It runs./scripts/test.ps1, so CI and a PC run the same thing. What it checks:GPU tests skip as they do on any adapter without the hardware (
SKIPPED …, counted at the end). Tests on game data pass without running.Validated on my fork (three runs, the last one green): 559 passed, 0 failed, 76 GPU tests skipped (no wave64).
What the runner has – and the three changes it needed
System32\xgameruntime.dll) and only the Microsoft Basic Render Driver (WARP: 4-lane waves). The launcher warns about both, andtest_title_runs_and_game_folder_is_untouchedtreats anyWARNINGas a failure. That one test is skipped in CI (the reason is in the workflow) and still runs inscripts/test.ps1on a PC.scripts/test.ps1passes its arguments to the test binaries (.\scripts\test.ps1 --skip <name>). Without arguments it does what it did before.gpu_compute_e2e's two PSO-hook tests checked only for a real D3D12 device. On WARP the driver rejects the translated program, so they failed. They now skip without 32- or 64-lane waves (runner::wave64_programs_supported, asgpu_ready()does). On a GPU they run as before (checked on the RTX 5070 Ti).XCL_ADAPTER=warp cargo test --workspacenow passes locally too (559 / 0).Found on the way: the test title crashes on WARP
With only WARP, the test title ends with an access violation inside
d3d10warp.dll. WithXCL_D3D12_DEBUG=1, the debug layer shows draws with no root signature set: 13 of them on an RTX 5070 Ti too, where the driver tolerates it. These are draws with untranslated (PC / fallback) pipelines.bind::set_graphics_root_signatureonly records the console layout and never binds a PC root signature, andgraphics_boundleaves untranslated pipelines to "their own root signature". That is a separate fix; I'll look at it next.Permissions:
contents: read. Third-party actions: none (actions/checkout,actions/cache).AI-assisted.
🤖 Generated with Claude Code
@ivall on GitHub · 2026-11-23 21:09 UTC · original
Merged (main
6da33fa). Checked on an RX 9070 (RDNA4) with the 22 PRs merged together on maineaa36b6:cargo build --workspace && cargo test --workspace -- --test-threads=4- 582 unit tests passed, 0 failed (20 ignored), the integration and e2e tests passed too; and the retail game still reaches its first menu (646 frames in 30 s, no device removal).@copilot-pull-request-reviewer[bot] on GitHub · 2026-11-23 15:08 UTC · original · reviewed
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.