ci: run ctest in parallel #1697

Merged
adriadam10 merged 1 commit from upstream-pr/1697 into main 2026-10-08 17:05:28 +00:00
adriadam10 commented 2026-10-08 16:57:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-08T16:57:49Z.


What

Runs the Linux and Windows ctest steps with --parallel 4. The runners have 4 cores and ctest ran serially: on main (run 37773243612) the Linux step ran 1315 test executions (453 tests × --repeat until-fail:3), 264 s back to back. --repeat until-fail:3 stays. The AGC tests that need the GPU alone already set RUN_SERIAL (libSceAgcDriver/CMakeLists.txt), and ctest honours it under --parallel.

Tested

Linux (CachyOS, Ryzen 5 7535HS iGPU), current main, ANYPS5_REQUIRE_VULKAN=1 ctest --output-on-failure --timeout 120 --repeat until-fail:3 --parallel 4, twice: 463/463 passed both times (41 s and 26 s). CI timings before/after in a comment below.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4790148311 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1697). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-08T16:57:49Z. --- ### What Runs the Linux and Windows `ctest` steps with `--parallel 4`. The runners have 4 cores and ctest ran serially: on main (run 37773243612) the Linux step ran 1315 test executions (453 tests × `--repeat until-fail:3`), 264 s back to back. `--repeat until-fail:3` stays. The AGC tests that need the GPU alone already set `RUN_SERIAL` (`libSceAgcDriver/CMakeLists.txt`), and ctest honours it under `--parallel`. ### Tested Linux (CachyOS, Ryzen 5 7535HS iGPU), current main, `ANYPS5_REQUIRE_VULKAN=1 ctest --output-on-failure --timeout 120 --repeat until-fail:3 --parallel 4`, twice: 463/463 passed both times (41 s and 26 s). CI timings before/after in a comment below. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!1697
No description provided.