Skip to content

ci(release): build macOS universal binary#17

Merged
mateusdemboski merged 1 commit into
mainfrom
ci/macos-universal-build
Jul 3, 2026
Merged

ci(release): build macOS universal binary#17
mateusdemboski merged 1 commit into
mainfrom
ci/macos-universal-build

Conversation

@mateusdemboski

Copy link
Copy Markdown
Collaborator

What

Wire ${{ matrix.platform }} into the wails build step in the release workflow.

Why

The desktop matrix already defined platform: "-platform darwin/universal" for the macOS job, but the build command never referenced it — so the mac job built a host-arch-only .app (whatever the runner happened to be), not a universal binary.

Change

  • Pass ${{ matrix.platform }} to wails build; macOS now runs wails build -platform darwin/universal, producing a real universal (arm64 + amd64) .app that runs on both Apple Silicon and Intel.
  • Windows/Linux pass an empty platform, unchanged.
  • UPX still skipped on macOS (breaks the universal .app + signing).

🤖 Generated with Claude Code

Matrix defined a platform field for the darwin/universal build but the
build step never consumed it, so the mac job produced a host-arch-only
.app. Wire ${{ matrix.platform }} into wails build so macOS ships a real
universal (arm64 + amd64) binary; Windows/Linux pass empty.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mateusdemboski mateusdemboski force-pushed the ci/macos-universal-build branch from 0a7eaec to d5a6ab6 Compare July 3, 2026 09:34
@mateusdemboski mateusdemboski merged commit 8768008 into main Jul 3, 2026
7 checks passed
@mateusdemboski mateusdemboski deleted the ci/macos-universal-build branch July 3, 2026 09:38
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