Repository navigation
CI, macOS app bundle and releases - #4
Merged
Merged
Conversation
ci.yml: gofmt, go vet and go test -race on Linux and macOS, a Windows cross-build, and the .app bundle as a build artifact. scripts/build-app.sh: universal (arm64 + amd64) xWinAmp.app with an icon drawn by tools/mkicon, Info.plist and an ad-hoc signature, zipped with ditto. release.yml: on v* tags, builds the macOS app, a Linux tarball and a Windows exe and attaches them to a GitHub Release. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzyyXFv9vmrtp3o7PfAFBV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Pipin · project thread
Before: nothing checked pull requests, and the player could only be started with
go run.After: every PR and push to
mainruns gofmt,go vetandgo test -raceon Linux and macOS plus a Windows cross-build, and uploads a readyxWinAmp.app(zipped) as an artifact. Pushing av*tag builds the macOS app, a Linux binary and a Windows.exeand attaches them to a GitHub Release.How:
scripts/build-app.shbuilds arm64 and amd64 binaries, joins them withlipo, renders the icon withtools/mkicon(pure Go, no image assets) into an.icns, writesInfo.plist, ad-hoc signs and zips withditto. The app is not Developer ID signed, so Gatekeeper asks on first launch (right click → Open).Checked: workflow YAML parses; the Linux/Windows release build commands run locally; icon renders. Not checked locally:
build-app.shitself (needs macOS tools); this PR's own macOS CI job is its first real run.🤖 Generated with Claude Code
https://claude.ai/code/session_01WzyyXFv9vmrtp3o7PfAFBV
Generated by Claude Code