ci(build): run macOS full build and CPU tests nightly #24341

Open
Romannachwievor wants to merge 5 commits from upstream-pr/24341 into main
Romannachwievor commented 2026-11-20 14:33:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Romannachwievor on 2026-11-20T14:33:13Z.


What

Add a nightly and manual macOS full-build job on main. It builds x86_64 Release and runs CTest without required Vulkan. A checked-in list excludes 15 known macOS failures by exact test name, with a tracking issue or PR beside each entry. Remove an entry when its fix merges. New failures fail the job. Since the last update three entries are gone because their fixes merged: guest_webrtc_network_manager (#26729), guest_icu_utf_conversions (#26783) and nkwebkit_inspectorcontentsearchregex (#26856, which replaced the revert #26855). Two are new: guest_libcxx_exception_pointer (issue #21538, no fix PR yet) and guest_libcxx_regex_error (#27320 fixes its build with clang).

This PR must merge after #17425 and #11049, which are needed for the macOS full build, and after #26739, because libc does not compile on macOS since #10416. The ICU test fix is already in main through #24921.

Tested

tools/check_conventions.py --base origin/main passed. On an Apple M1 (macOS 26.5, x86_64 Release under Rosetta 2) with main ff5b409dda plus #17425, #11049 and #26739: ctest -N lists 6,635 tests and 6,620 with --exclude-from-file, so all 15 names match exactly. The three removed tests pass 3 of 3 serial runs. guest_libcxx_exception_pointer fails in the full CPU run, in 3 of 3 serial reruns and again alone (libc++ exception_ptr did not rethrow its guest exception). guest_libcxx_regex_error_tests does not compile with AppleClang (GuestLibcxxRegexError.cpp:45, casts away qualifiers). Two problems RavenCurseBurg reported are not fixed here yet: CTest reads the relative --exclude-from-file path from build and exits 8 (reproduced here with CTest 4.4.2), and the macos-15 SDK has no floating-point std::from_chars for UpscaleMode.hpp. The GitHub-hosted full build and test run have not run; #17425, #11049 and #26739 are still open.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • 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: #17425, #11049, #26739
  • Fixes: Fixes #24117
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5415045040 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24341). Originally posted by [Romannachwievor](https://github.com/Romannachwievor) on 2026-11-20T14:33:13Z. --- ### What Add a nightly and manual macOS full-build job on `main`. It builds x86_64 Release and runs CTest without required Vulkan. A checked-in list excludes 15 known macOS failures by exact test name, with a tracking issue or PR beside each entry. Remove an entry when its fix merges. New failures fail the job. Since the last update three entries are gone because their fixes merged: `guest_webrtc_network_manager` (#26729), `guest_icu_utf_conversions` (#26783) and `nkwebkit_inspectorcontentsearchregex` (#26856, which replaced the revert #26855). Two are new: `guest_libcxx_exception_pointer` (issue #21538, no fix PR yet) and `guest_libcxx_regex_error` (#27320 fixes its build with clang). This PR must merge after #17425 and #11049, which are needed for the macOS full build, and after #26739, because libc does not compile on macOS since #10416. The ICU test fix is already in main through #24921. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> `tools/check_conventions.py --base origin/main` passed. On an Apple M1 (macOS 26.5, x86_64 Release under Rosetta 2) with `main` `ff5b409dda` plus #17425, #11049 and #26739: `ctest -N` lists 6,635 tests and 6,620 with `--exclude-from-file`, so all 15 names match exactly. The three removed tests pass 3 of 3 serial runs. `guest_libcxx_exception_pointer` fails in the full CPU run, in 3 of 3 serial reruns and again alone (`libc++ exception_ptr did not rethrow its guest exception`). `guest_libcxx_regex_error_tests` does not compile with AppleClang (`GuestLibcxxRegexError.cpp:45`, casts away qualifiers). Two problems RavenCurseBurg reported are not fixed here yet: CTest reads the relative `--exclude-from-file` path from `build` and exits 8 (reproduced here with CTest 4.4.2), and the `macos-15` SDK has no floating-point `std::from_chars` for `UpscaleMode.hpp`. The GitHub-hosted full build and test run have not run; #17425, #11049 and #26739 are still open. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [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: #17425, #11049, #26739 - [x] Fixes: Fixes #24117 - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes AI-assisted: yes (Claude Code)
MarcZX10 commented 2026-11-21 00:39:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T00:39:53Z.

Review: APPROVED


Reviewed — looks good

The change adds a nightly and manually triggered macOS x86_64 Release build with CPU tests and excludes the listed known failures; I found no verified blocking defect in the changed files.

What I ran

Reviewed head 250b0a41db06aec8a62e23c3acf2f055850b8790. Read the prepared description, commits, manifest, diff, and both changed files at the pinned head. No build or tests were run.

Results

Check Result Note
Changed-file review passed Both changed files read
Build and tests not run CI run not available in this review

Findings

Blocking

None.

Non-blocking

None.

Not verified

The GitHub-hosted macOS build and CTest run have not run. The description reports prerequisite PRs #17425, #11049, and #23659 are still open; their merge status and the CI behavior after they land were not verified. review/files.json was not available through the reader. No changed files were excluded: both files marked reviewed in the manifest were read.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6001370489 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24341#pullrequestreview-6001370489). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T00:39:53Z. **Review:** APPROVED --- # Reviewed — looks good The change adds a nightly and manually triggered macOS x86_64 Release build with CPU tests and excludes the listed known failures; I found no verified blocking defect in the changed files. ## What I ran Reviewed head `250b0a41db06aec8a62e23c3acf2f055850b8790`. Read the prepared description, commits, manifest, diff, and both changed files at the pinned head. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Changed-file review | passed | Both changed files read | | Build and tests | not run | CI run not available in this review | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The GitHub-hosted macOS build and CTest run have not run. The description reports prerequisite PRs #17425, #11049, and #23659 are still open; their merge status and the CI behavior after they land were not verified. `review/files.json` was not available through the reader. No changed files were excluded: both files marked reviewed in the manifest were read. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-25 14:11:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T14:11:56Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this; the points below are optional.

What I ran

Reviewed head b789a9a38edad150cc8fd8b77363d6aab6bc2537 using the prepared diff and repo_read.py for changed files and targeted context. No build or tests were run.

Results

Check Result Note
Changed-file review passed Both changed files read
Build and tests not run Author reports local macOS testing; hosted run has not run
Workflow context passed Confirmed workflow path exists

Findings

Blocking

None.

Non-blocking

None.

Not verified

Did not run the workflow, build, or tests. The description reports testing on Apple M1 under Rosetta with a test count and repeated failures for the excluded cases; those results were not independently verified. The review folder's files.json was not available in the reader listing, so excluded files are not verified. Read description.md, commits.md, manifest.json, diff.patch, .github/macos-full-expected-failures.txt, and .github/workflows/macos-full.yml; no changed file was excluded from review.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6059189127 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24341#pullrequestreview-6059189127). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T14:11:56Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this; the points below are optional. ## What I ran Reviewed head `b789a9a38edad150cc8fd8b77363d6aab6bc2537` using the prepared diff and `repo_read.py` for changed files and targeted context. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Changed-file review | passed | Both changed files read | | Build and tests | not run | Author reports local macOS testing; hosted run has not run | | Workflow context | passed | Confirmed workflow path exists | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Did not run the workflow, build, or tests. The description reports testing on Apple M1 under Rosetta with a test count and repeated failures for the excluded cases; those results were not independently verified. The review folder's `files.json` was not available in the reader listing, so excluded files are not verified. Read `description.md`, `commits.md`, `manifest.json`, `diff.patch`, `.github/macos-full-expected-failures.txt`, and `.github/workflows/macos-full.yml`; no changed file was excluded from review. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-25 22:27:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T22:27:09Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

Changes are required before merge: fix the relative exclusion-file path so CTest can read it from the build directory.

What I ran

Read the prepared review description, commit list, manifest, diff, both changed files, and the changed-file listing for head 9049fb06c721c32b167571ea214af5a9ddca0842. Read repository context with repo_read.py; no build or tests were run.

Results

Check Result Note
Diff and changed files passed Both changed files were read
Build and tests not run Author reports the exclusion path failure

Findings

Blocking

  • .github/workflows/macos-full.yml:29 passes a relative exclusion-file path to CTest while setting --test-dir build. The PR description reports this exits with code 8 because CTest resolves the path from build. As written, the test step fails rather than running the intended exclusions. Resolve the path from the repository root or pass an absolute path.

Non-blocking

None.

Not verified

No commands, build, CTest run, or GitHub-hosted workflow were run. The finding is based on the author-reported reproduction in the PR description and the workflow command read here. No files were excluded from review; files.json was unavailable, and the manifest lists both changed files as included and read.

To get this to a good state

Fix the exclusion-file path in the workflow, then run the workflow's CTest command and confirm it reads the expected-failures list.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6065851769 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24341#pullrequestreview-6065851769). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T22:27:09Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested Changes are required before merge: fix the relative exclusion-file path so CTest can read it from the build directory. ## What I ran Read the prepared review description, commit list, manifest, diff, both changed files, and the changed-file listing for head `9049fb06c721c32b167571ea214af5a9ddca0842`. Read repository context with `repo_read.py`; no build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and changed files | passed | Both changed files were read | | Build and tests | not run | Author reports the exclusion path failure | ## Findings ### Blocking - `.github/workflows/macos-full.yml:29` passes a relative exclusion-file path to CTest while setting `--test-dir build`. The PR description reports this exits with code 8 because CTest resolves the path from `build`. As written, the test step fails rather than running the intended exclusions. Resolve the path from the repository root or pass an absolute path. ### Non-blocking None. ## Not verified No commands, build, CTest run, or GitHub-hosted workflow were run. The finding is based on the author-reported reproduction in the PR description and the workflow command read here. No files were excluded from review; `files.json` was unavailable, and the manifest lists both changed files as included and read. ## To get this to a good state Fix the exclusion-file path in the workflow, then run the workflow's CTest command and confirm it reads the expected-failures list.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/24341:upstream-pr/24341'
git switch 'upstream-pr/24341'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/24341'
git switch 'upstream-pr/24341'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/24341'
git switch 'upstream-pr/24341'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/24341'
git switch 'main'
git merge --squash 'upstream-pr/24341'
git switch 'main'
git merge --ff-only 'upstream-pr/24341'
git switch 'main'
git merge 'upstream-pr/24341'
git push origin 'main'
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!24341
No description provided.