ci: build main again on Windows and macOS #2393

Manually merged
github merged 2 commits from gh-pr/2393/head into gh-pr/2393/base 2026-11-26 10:19:28 +00:00
Owner

@⁠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 UTC

Main'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

  • Windows: the runner image moved from win25-vs2026 20261103.298 (MSVC 14.51) to 20261116.315 (MSVC 14.52). The 14.52 STL stops with error STL1000: Unexpected compiler version, expected Clang 22 or newer. The workflow's clang-cl is the standalone LLVM 20.1.8 in C:\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).
  • macOS: TestGuestTlsReadsUseThreadTcb emits x86-64 code with Xbyak, which tests/VirtualMemoryAllocationTests.cpp includes only on Linux and Windows. The macOS build stops with 18 use of undeclared identifier errors in that test.

Change

  • build.yml: after msvc-dev-cmd, put Visual Studio's own LLVM (%VCINSTALLDIR%Tools\Llvm\x64\bin) first on PATH, so clang-cl is the Clang that ships with the same STL.
  • The test and its RunTest line 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.8 from C:\Program Files\LLVM\bin). With the build.yml change, clang-cl is clang version 22.1.3 from VC\Tools\Llvm\x64\bin on 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.

**@⁠Nawid3333** on GitHub · 2026-11-18 19:44 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/2393) `Nawid3333:ci/build-main-again` → `main` · +10 −0 · 2 files · 2 commits · merged 2026-11-18 21:14 UTC Main'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 - **Windows**: the runner image moved from win25-vs2026 20261103.298 (MSVC 14.51) to 20261116.315 (MSVC 14.52). The 14.52 STL stops with `error STL1000: Unexpected compiler version, expected Clang 22 or newer`. The workflow's `clang-cl` is the standalone LLVM 20.1.8 in `C:\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](https://github.com/KytyPS5/KytyPS5/actions/runs/44323331513)). - **macOS**: `TestGuestTlsReadsUseThreadTcb` emits x86-64 code with Xbyak, which `tests/VirtualMemoryAllocationTests.cpp` includes only on Linux and Windows. The macOS build stops with 18 `use of undeclared identifier` errors in that test. ## Change - `build.yml`: after `msvc-dev-cmd`, put Visual Studio's own LLVM (`%VCINSTALLDIR%Tools\Llvm\x64\bin`) first on PATH, so `clang-cl` is the Clang that ships with the same STL. - The test and its `RunTest` line 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.8` from `C:\Program Files\LLVM\bin`). With the build.yml change, `clang-cl` is `clang version 22.1.3` from `VC\Tools\Llvm\x64\bin` on both images, and the Windows and Linux jobs build and pass their tests: [run 44356469326](https://github.com/Nawid3333/KytyPS5/actions/runs/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](https://github.com/Nawid3333/KytyPS5/actions/runs/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.
TestGuestTlsReadsUseThreadTcb emits x86-64 code with Xbyak, which the
test file includes only on Linux and Windows, so the macOS build stopped
at this test with 18 "undeclared identifier" errors. The test now uses
the include's guard, like the file's other Xbyak tests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The windows-2025-vs2026 image 20261116 moved to MSVC 14.52, whose STL
stops with STL1000 on any Clang older than 22. The standalone LLVM
20.1.8 in C:\Program Files\LLVM\bin came first on PATH, so every
Windows build failed in the first third-party sources. Visual Studio's
own LLVM is the Clang its STL is released with.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:19:25 +00:00
github manually merged commit 6209b06ec2 into gh-pr/2393/base 2026-11-26 10:19:28 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-11-18 19:47 UTC · original

Explain Change →

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: nmzik

Change: Bug fix

Merge Risk: Minimal · up to 6209b

This 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: Passed 4

Check name Status Explanation
Title check Passed 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-b…
Description check Passed 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 T…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 6c618255ee and 6209b06ec2.

Files selected for processing: 2

  • .github/workflows/build.yml
  • tests/VirtualMemoryAllocationTests.cpp

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

**@⁠coderabbitai[bot]** on GitHub · 2026-11-18 19:47 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/2393#issuecomment-6989654394) <!-- coderabbit-ai-generated:v1 --> <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/2393?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg" alt="Explain Change →" height="32"></picture></a> <!-- review_stack_entry_end --> <!-- recent_review_status_start --> No actionable comments were generated in the recent review. <!-- recent_review_status_end --> <!-- walkthrough_start --> <details> <summary><strong>Walkthrough</strong></summary> <dl> <dd> <br> 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:** `nmzik` </dd> </dl> </details> <!-- walkthrough_end --> <!-- change_assessment_start --> <!-- change_assessment_commit:"6209b06ec241624f7cd3b4466e6d4b8428a433b5" --> <!-- change_assessment_priority:{"version":1,"urgency":"p2","manual":false} --> **Change:** Bug fix <!-- change_assessment_end --> <details> <summary><strong>Merge Risk:</strong> <strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/risk-unassessed-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Minimal</strong> · up to <code>6209b</code></summary> <dl> <dd> <br> <!-- final_review_risk_start --> <!-- final_review_risk_label **Merge Risk:** **⚪ Minimal** · up to `6209b` --> <!-- final_review_risk_coverage:{"sourceCommitId":"6209b06ec241624f7cd3b4466e6d4b8428a433b5","coveredCommitId":"6209b06ec241624f7cd3b4466e6d4b8428a433b5","kind":"reviewed"} --> This 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. <!-- final_review_risk_end --> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_start --> <details> <summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 4</strong></summary> <dl> <dd> <br> | Check name | Status | Explanation | | :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Title check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | 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-b… | | Description check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | 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 T… | | Linked Issues check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | <details> <summary><strong>Full details: Title check</strong></summary> <dl> <dd> <br> **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. </dd> </dl> </details> <details> <summary><strong>Full details: Description check</strong></summary> <dl> <dd> <br> **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. </dd> </dl> </details> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- tips_start --> Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=KytyPS5/KytyPS5&utm_content=2393)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary><strong>Share</strong></summary> <dl> <dd> <br> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </dd> </dl> </details> <!-- tips_end --> <!-- recent_review_start --> <h6> <details> <summary><strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Recent review info</strong></summary> <dl> <dd> <br> <!-- review_info_content --> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary> <dl> <dd> <br> - **Source mode**: Auto - **Repository**: [KytyPS5/KytyPS5](<https://github.com/KytyPS5/KytyPS5>) - **Branch**: [main](<https://github.com/KytyPS5/KytyPS5/tree/main>) - **File**: [.coderabbit.yaml](<https://github.com/KytyPS5/KytyPS5/blob/6c618255ee2593edbf6a79eaf488f4795a550039/.coderabbit.yaml>) - **Commit**: [6c61825](<https://github.com/KytyPS5/KytyPS5/commit/6c618255ee2593edbf6a79eaf488f4795a550039>) - **Layers**: Repository YAML - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `e40448c1-d9d7-4280-8c93-ee1bb519234e` </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</strong></summary> <dl> <dd> <br> Reviewing files that changed from the base of the PR and between 6c618255ee2593edbf6a79eaf488f4795a550039 and 6209b06ec241624f7cd3b4466e6d4b8428a433b5. </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 2</strong></summary> <dl> <dd> <br> * `.github/workflows/build.yml` * `tests/VirtualMemoryAllocationTests.cpp` </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. </dd> </dl> </details> </h6> <!-- recent_review_end -->
Author
Owner

@⁠sng4yzz on GitHub · 2026-11-22 04:54 UTC · original

Pls make ios for iPads/ipa files

**@⁠sng4yzz** on GitHub · 2026-11-22 04:54 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/2393#issuecomment-7074442137) Pls make ios for iPads/ipa files
This discussion has been locked. Commenting is limited to contributors.
No description provided.