ci: build main again on Windows and macOS #2393
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!2393
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2393/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?
@Nawid3333 on GitHub · 2026-11-18 19:44 UTC · original
Nawid3333:ci/build-main-again→main· +10 −0 · 2 files · 2 commits · merged 2026-11-18 21:14 UTCMain's own CI is red on
6c618255e: the Windows job on the new runner image and the macOS job. PR runs fail the same way (macOS always, Windows whenever the job gets the new image). This fixes both.Cause
error STL1000: Unexpected compiler version, expected Clang 22 or newer. The workflow'sclang-clis the standalone LLVM 20.1.8 inC:\Program Files\LLVM\bin, which comes first on PATH, so the build stops at the first sources it compiles (zarchive, fmt) (main's run 44323331513).TestGuestTlsReadsUseThreadTcbemits x86-64 code with Xbyak, whichtests/VirtualMemoryAllocationTests.cppincludes only on Linux and Windows. The macOS build stops with 18use of undeclared identifiererrors in that test.Change
build.yml: aftermsvc-dev-cmd, put Visual Studio's own LLVM (%VCINSTALLDIR%Tools\Llvm\x64\bin) first on PATH, soclang-clis the Clang that ships with the same STL.RunTestline use the include's guard (defined(__linux__) || KYTY_PLATFORM == KYTY_PLATFORM_WINDOWS), like the file's other Xbyak tests.Test
On the fork: a branch without this change stops on image 20261116.315 with the same STL1000 error (
clang version 20.1.8fromC:\Program Files\LLVM\bin). With the build.yml change,clang-clisclang version 22.1.3fromVC\Tools\Llvm\x64\binon both images, and the Windows and Linux jobs build and pass their tests: run 44356469326 (image 20261116.315, an earlier version of this branch with the same build.yml and a test guard on the architecture instead of the OS; Windows 32/32 tests) and run 44365705510 (this head, image 20261103.298.1; Windows 32/32 and Linux 16/16 tests). The fork's macOS job was cancelled without a runner, so this PR's own CI is the first macOS run of the change.Written with Claude Code (AI): Claude Code found both causes in the CI logs and wrote the change; GLM fact-checked this text.
@coderabbitai[bot] on GitHub · 2026-11-18 19:47 UTC · original
No actionable comments were generated in the recent review.
Walkthrough
The Windows build workflow adds Visual Studio’s x64 LLVM tools directory to the path for later steps. The guest TLS read test implementation and its test-suite invocation are now guarded for Linux and Windows.
Suggested reviewers:
nmzikChange: Bug fix
Merge Risk:
Minimal · up to
6209bThis change only adjusts CI tooling and restricts one guest TLS test to Linux and Windows. It does not alter product behavior. The remaining uncertainty is whether this PR's own macOS and Windows CI passes, and any CI failure would be visible immediately.
Pre-merge checks:
4
Full details: Title check
Explanation
The title names the main change: restoring the main branch build on Windows and macOS CI. The PR changes build.yml to put Visual Studio's LLVM first on PATH for the Windows job, and guards the Xbyak-based test so it compiles on macOS. The title is specific enough for a teammate scanning history, and it does not describe anything absent from the changeset.
Full details: Description check
Explanation
The description is directly related to the changeset. It explains the Windows failure caused by the runner image moving to MSVC 14.52 with the STL1000 error, and the macOS failure from Xbyak code in TestGuestTlsReadsUseThreadTcb. It also describes the build.yml PATH change and the platform guard on the test, and it lists fork CI runs as validation.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
e40448c1-d9d7-4280-8c93-ee1bb519234eReviewing files that changed from the base of the PR and between
6c618255eeand6209b06ec2..github/workflows/build.ymltests/VirtualMemoryAllocationTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
@sng4yzz on GitHub · 2026-11-22 04:54 UTC · original
Pls make ios for iPads/ipa files