Skip to content

ci(macos): build and release Intel Macs alongside Apple silicon - #10

Open
madeline-yana wants to merge 1 commit into
bytesbay:mainfrom
madeline-yana:platform/intel-mac
Open

madeline-yana wants to merge 1 commit into
bytesbay:mainfrom
madeline-yana:platform/intel-mac

Conversation

@madeline-yana

Copy link
Copy Markdown
  • add a macOS CI workflow that tests and packages both architectures: macos-15 (Apple silicon) and macos-15-intel
  • add a macos-intel release job that signs, notarizes and uploads the x86_64 zip next to the existing arm64 asset; the existing macOS and Linux jobs are untouched, so this is purely additive and merges independently of the Windows port
  • the updater already picks assets by -.zip, so no app change is needed
  • the README install section names both architectures

- add a macOS CI workflow that tests and packages both architectures:
  macos-15 (Apple silicon) and macos-15-intel
- add a macos-intel release job that signs, notarizes and uploads the
  x86_64 zip next to the existing arm64 asset; the existing macOS and
  Linux jobs are untouched, so this is purely additive and merges
  independently of the Windows port
- the updater already picks assets by -<arch>.zip, so no app change is
  needed
- the README install section names both architectures
@madeline-yana

Copy link
Copy Markdown
Author

Build and release Intel Macs alongside Apple silicon

What

GPUI and pi already run on x86_64 macOS; only packaging was missing. This adds
the other macOS architecture without touching the app code:

  • CI: a separate ci-macos.yml workflow tests and packages both
    architectures (macos-15 = Apple silicon, macos-15-intel = Intel).
  • Release: a macos-intel job, needs: macos, signs, notarizes and
    uploads Pi-GPUI-<version>-x86_64.zip next to the existing arm64 asset.
  • README: the install section names both architectures.

The existing macos (arm64 publisher) and linux jobs are untouched, so this
is a purely additive change and can merge independently of the Windows PR.

Why

The updater already selects assets by -<arch>.zip and
std::env::consts::ARCH, so Intel users just need an asset built for
x86_64. No application code changes are required.

Testing

  • No Mac available locally; the app code is unchanged.
  • Workflows validated as YAML; the job graph is
    macos (publishes) → macos-intel, linux (upload).
  • Verified that this branch merges cleanly with the Windows branch (octopus
    merge, no conflicts) and the release workflow then has one publisher and
    three uploaders.
  • First CI run on the fork will exercise both runner images.

Notes

  • The macos-intel job duplicates the arm64 job's signing/notarization
    steps. That is deliberate: it keeps this PR additive so it can merge in any
    order with the Windows PR. Once both platforms are in, the two macOS jobs
    can be folded into a matrix with a single publish job, as in Zed's releases.
  • The same MACOS_CERTIFICATE_P12, MACOS_CERTIFICATE_PASSWORD,
    APPLE_API_KEY_P8, APPLE_API_KEY_ID and APPLE_API_ISSUER_ID secrets
    apply to the Intel leg.
  • macos-15-intel is the standard GitHub-hosted Intel image; macos-15 is
    arm64 on current runner images (the old macos-13 Intel image is retired).
  • Release assets stay Pi-GPUI-<version>-<arch>.zip; the existing updater
    understands both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant