Skip to content

ci: Add macOS binary and DMG build workflow#14

Open
peterzen wants to merge 2 commits into
masterfrom
macos-ci-build
Open

ci: Add macOS binary and DMG build workflow#14
peterzen wants to merge 2 commits into
masterfrom
macos-ci-build

Conversation

@peterzen

@peterzen peterzen commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Adds a workflow_dispatch-triggerable GitHub workflow that builds the standalone bisonw binary and the Electron bisonw-desktop DMG for macOS on both Intel (amd64) and Apple Silicon (arm64).

Also fixes an arch-selection bug in electron/pkg.sh that caused both DMGs to be packaged for the build host's architecture.

peterzen added 2 commits July 4, 2026 12:27
Adds build-macos.yml (workflow_dispatch + PR path trigger) that builds
the standalone bisonw binary and the Electron bisonw-desktop DMG for
both darwin/amd64 and darwin/arm64, and verifies the arm64 artifacts
are Apple Silicon compatible (architecture + ad-hoc signature).

Also fixes electron/pkg.sh: npm was consuming the --platform/--arch
flags itself, so electron-forge packaged the host architecture for
every target; pass them through with -- and map amd64 to Electron's
x64 name.
The first run confirmed the toolchain produces correct arm64 (Apple
Silicon) artifacts; no need to re-verify on every build.
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