OpenRCT2 / OpenRCT2/OpenRCT2

macOS builds failing

Open
#21,895 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build macOS (OS)
Dominant language
C++
Stars
16.2k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
80

Description

Since yesterday, macos-latest means macOS 14 using arm64 architecture. That trips our cross-compilation detection and results in x86_64 job not building g2.dat, which fails entire build. The cross-compilation detection should be improved to address this. For now, reverting runner images to macos-12 (the previous version used for our builds) should suffice.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CI workflow entries that select macos-latest and the cross-compilation logic controlling generation of g2.dat. Reproduce the macOS build failure, then verify that the arm64 runner builds the required x86_64 artifact, or that the workflows consistently use macos-12 as the stated interim fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, macos
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.