ci: build and run one shared test list on every platform #2280

Open
github-bot wants to merge 1 commit from github-bot/gh-2280 into main AGit
Owner

@⁠Nawid3333 on GitHub · 2026-11-14 18:53 UTC · original
Nawid3333:ci/one-test-list → main · +44 −25 · 2 files · 1 commits · open

The three jobs in build.yml each keep two hand-written lists: the test targets to build and a ctest -R regex of the tests to run. Windows runs 32 suites; Linux and macOS run 16, although the other 16 do not need Windows. A new suite has to be added in up to six places.

Change

  • CMakeLists.txt: kyty_ci_tests lists the 32 suites Windows runs today, once. The tests get the ctest label ci, and ci_tests builds their executables.
  • build.yml: every job builds launcher ci_tests (Windows and macOS also build shader_recompiler_compute_tests, as before) and runs ctest --no-tests=error -L '^ci$'. --no-tests=error fails the step if the selection ever matches nothing.
  • macOS leaves out ces (-E '^ces$'), which did not run there before: its invalid-sequence cases in CesTests.cpp:108-113 fail (CesMbcsStrToUtf8Str / CesMbcsStrGetUtf8Len return another error and consumed/produced count). On macOS libCes converts through the system iconv's CP932, which handles these bytes differently from glibc; I have not traced which case yet.

Result: Linux runs 16 more suites than before, macOS 15 more; Windows runs the same 32. A new CI suite is one line in kyty_ci_tests. No new full-emulator test is added (shader_cfg stays out, as in #2016).

Testing

Fork CI on this commit: Windows 32/32, Linux 32/32, macOS 31/31 (https://github.com/Nawid3333/KytyPS5/actions/runs/43625508597). The ces failure on macOS: https://github.com/Nawid3333/KytyPS5/actions/runs/43621426522 (macOS job, an earlier version of this branch that also ran shader_cfg).

With a warm build cache (99% sccache hits), the Build steps of that run are within 5% of main's on each platform (one run each).

Open PRs that add a suite to the build.yml lists (#1966) would add it to kyty_ci_tests instead after this.

Written with Claude Code (AI): Claude Code wrote the change and checked the fork CI runs.

🤖 Generated with Claude Code

**@⁠Nawid3333** on GitHub · 2026-11-14 18:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/2280) `Nawid3333:ci/one-test-list` → `main` · +44 −25 · 2 files · 1 commits · open The three jobs in `build.yml` each keep two hand-written lists: the test targets to build and a `ctest -R` regex of the tests to run. Windows runs 32 suites; Linux and macOS run 16, although the other 16 do not need Windows. A new suite has to be added in up to six places. ## Change - `CMakeLists.txt`: `kyty_ci_tests` lists the 32 suites Windows runs today, once. The tests get the ctest label `ci`, and `ci_tests` builds their executables. - `build.yml`: every job builds `launcher ci_tests` (Windows and macOS also build `shader_recompiler_compute_tests`, as before) and runs `ctest --no-tests=error -L '^ci$'`. `--no-tests=error` fails the step if the selection ever matches nothing. - macOS leaves out `ces` (`-E '^ces$'`), which did not run there before: its invalid-sequence cases in `CesTests.cpp:108-113` fail (`CesMbcsStrToUtf8Str` / `CesMbcsStrGetUtf8Len` return another error and consumed/produced count). On macOS `libCes` converts through the system iconv's CP932, which handles these bytes differently from glibc; I have not traced which case yet. Result: Linux runs 16 more suites than before, macOS 15 more; Windows runs the same 32. A new CI suite is one line in `kyty_ci_tests`. No new full-emulator test is added (`shader_cfg` stays out, as in #2016). ## Testing Fork CI on this commit: Windows 32/32, Linux 32/32, macOS 31/31 (https://github.com/Nawid3333/KytyPS5/actions/runs/43625508597). The `ces` failure on macOS: https://github.com/Nawid3333/KytyPS5/actions/runs/43621426522 (macOS job, an earlier version of this branch that also ran `shader_cfg`). With a warm build cache (99% sccache hits), the Build steps of that run are within 5% of main's on each platform (one run each). Open PRs that add a suite to the `build.yml` lists (#1966) would add it to `kyty_ci_tests` instead after this. Written with Claude Code (AI): Claude Code wrote the change and checked the fork CI runs. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:18:03 +00:00
Author
Owner

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

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

CMake now defines selected CI tests, assigns them the ci label, and creates a ci_tests target. Windows, macOS, and Linux workflows build that target and run tests labeled ci. The macOS test step excludes ces. The workflows fail when no matching tests are found.

Suggested reviewers: nmzik, mrbigbritches, aspenini

Change: Other

Merge Risk: Minimal · up to 0e339

This change moves CI onto one shared test list built through a single ci_tests target. It runs more suites on Linux and macOS, with ces excluded on macOS for a known iconv difference. It only affects CI, and no merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the Windows, macOS, and Linux CI jobs now build and run one shared test list. The changeset adds a kyty_ci_tests list in CMakeLists.txt, labels the tests ci, adds a ci…
Description check Passed The description explains the problem (duplicated hand-written test lists in build.yml) and the change (kyty_ci_tests list, ci label, ci_tests target, ctest -L '^ci$' in each job). It also covers the m…
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: the Windows, macOS, and Linux CI jobs now build and run one shared test list. The changeset adds a kyty_ci_tests list in CMakeLists.txt, labels the tests ci, adds a ci_tests target, and updates build.yml to use them. The title is specific and matches the primary change.

Full details: Description check

Explanation

The description explains the problem (duplicated hand-written test lists in build.yml) and the change (kyty_ci_tests list, ci label, ci_tests target, ctest -L '^ci$' in each job). It also covers the macOS ces exclusion, the reported CI results, and the build-time measurement. It relates directly to the changeset.

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 3e226bff9d and 0e339f031e.

Files selected for processing: 2

  • .github/workflows/build.yml
  • CMakeLists.txt

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

**@⁠coderabbitai[bot]** on GitHub · 2026-11-14 19:00 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/2280#issuecomment-6882641585) <!-- 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/2280?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> CMake now defines selected CI tests, assigns them the `ci` label, and creates a `ci_tests` target. Windows, macOS, and Linux workflows build that target and run tests labeled `ci`. The macOS test step excludes `ces`. The workflows fail when no matching tests are found. **Suggested reviewers:** `nmzik`, `mrbigbritches`, `aspenini` </dd> </dl> </details> <!-- walkthrough_end --> <!-- change_assessment_start --> <!-- change_assessment_commit:"0e339f031e41c7a6e8f33c8ed184e2f52aceada8" --> <!-- change_assessment_priority:{"version":1,"urgency":"p3","manual":false} --> **Change:** Other <!-- 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>0e339</code></summary> <dl> <dd> <br> <!-- final_review_risk_start --> <!-- final_review_risk_label **Merge Risk:** **⚪ Minimal** · up to `0e339` --> <!-- final_review_risk_coverage:{"sourceCommitId":"0e339f031e41c7a6e8f33c8ed184e2f52aceada8","coveredCommitId":"0e339f031e41c7a6e8f33c8ed184e2f52aceada8","kind":"reviewed"} --> This change moves CI onto one shared test list built through a single ci_tests target. It runs more suites on Linux and macOS, with ces excluded on macOS for a known iconv difference. It only affects CI, and no merge-blocking risk was found. <!-- 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: the Windows, macOS, and Linux CI jobs now build and run one shared test list. The changeset adds a kyty_ci_tests list in CMakeLists.txt, labels the tests ci, adds a ci… | | Description check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The description explains the problem (duplicated hand-written test lists in build.yml) and the change (kyty_ci_tests list, ci label, ci_tests target, ctest -L '^ci$' in each job). It also covers the m… | | 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: the Windows, macOS, and Linux CI jobs now build and run one shared test list. The changeset adds a kyty_ci_tests list in CMakeLists.txt, labels the tests ci, adds a ci_tests target, and updates build.yml to use them. The title is specific and matches the primary change. </dd> </dl> </details> <details> <summary><strong>Full details: Description check</strong></summary> <dl> <dd> <br> **Explanation** The description explains the problem (duplicated hand-written test lists in build.yml) and the change (kyty_ci_tests list, ci label, ci_tests target, ctest -L '^ci$' in each job). It also covers the macOS ces exclusion, the reported CI results, and the build-time measurement. It relates directly to the changeset. </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=2280)! 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/3e226bff9d757cf973672979050d82d77e5a30ef/.coderabbit.yaml>) - **Commit**: [3e226bf](<https://github.com/KytyPS5/KytyPS5/commit/3e226bff9d757cf973672979050d82d77e5a30ef>) - **Layers**: Repository YAML - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `3ef260f0-43f6-4082-9e99-4a5593e6fc6e` </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 3e226bff9d757cf973672979050d82d77e5a30ef and 0e339f031e41c7a6e8f33c8ed184e2f52aceada8. </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` * `CMakeLists.txt` </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. </dd> </dl> </details> </h6> <!-- recent_review_end -->
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2280/head:github-bot/gh-2280'
git switch 'github-bot/gh-2280'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2280'
git switch 'github-bot/gh-2280'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2280'
git switch 'github-bot/gh-2280'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2280'
git switch 'main'
git merge --squash 'github-bot/gh-2280'
git switch 'main'
git merge --ff-only 'github-bot/gh-2280'
git switch 'main'
git merge 'github-bot/gh-2280'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.