ci: build and run one shared test list on every platform #2280
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!2280
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2280"
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-14 18:53 UTC · original
Nawid3333:ci/one-test-list→main· +44 −25 · 2 files · 1 commits · openThe three jobs in
build.ymleach keep two hand-written lists: the test targets to build and actest -Rregex 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_testslists the 32 suites Windows runs today, once. The tests get the ctest labelci, andci_testsbuilds their executables.build.yml: every job buildslauncher ci_tests(Windows and macOS also buildshader_recompiler_compute_tests, as before) and runsctest --no-tests=error -L '^ci$'.--no-tests=errorfails the step if the selection ever matches nothing.ces(-E '^ces$'), which did not run there before: its invalid-sequence cases inCesTests.cpp:108-113fail (CesMbcsStrToUtf8Str/CesMbcsStrGetUtf8Lenreturn another error and consumed/produced count). On macOSlibCesconverts 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_cfgstays 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
cesfailure on macOS: https://github.com/Nawid3333/KytyPS5/actions/runs/43621426522 (macOS job, an earlier version of this branch that also ranshader_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.ymllists (#1966) would add it tokyty_ci_testsinstead after this.Written with Claude Code (AI): Claude Code wrote the change and checked the fork CI runs.
🤖 Generated with Claude Code
@coderabbitai[bot] on GitHub · 2026-11-14 19:00 UTC · original
No actionable comments were generated in the recent review.
Walkthrough
CMake now defines selected CI tests, assigns them the
cilabel, and creates aci_teststarget. Windows, macOS, and Linux workflows build that target and run tests labeledci. The macOS test step excludesces. The workflows fail when no matching tests are found.Suggested reviewers:
nmzik,mrbigbritches,aspeniniChange: Other
Merge Risk:
Minimal · up to
0e339This 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:
4
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
3ef260f0-43f6-4082-9e99-4a5593e6fc6eReviewing files that changed from the base of the PR and between
3e226bff9dand0e339f031e..github/workflows/build.ymlCMakeLists.txtIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.