Skip to content

CI, macOS app bundle and releases - #4

Merged
rooty merged 1 commit into
mainfrom
claude/project-thread-at9jyu
Oct 8, 2026
Merged

rooty merged 1 commit into
mainfrom
claude/project-thread-at9jyu

Conversation

@rooty

@rooty rooty commented Oct 8, 2026

Copy link
Copy Markdown
Owner

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 main runs gofmt, go vet and go test -race on Linux and macOS plus a Windows cross-build, and uploads a ready xWinAmp.app (zipped) as an artifact. Pushing a v* tag builds the macOS app, a Linux binary and a Windows .exe and attaches them to a GitHub Release.

How: scripts/build-app.sh builds arm64 and amd64 binaries, joins them with lipo, renders the icon with tools/mkicon (pure Go, no image assets) into an .icns, writes Info.plist, ad-hoc signs and zips with ditto. 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.sh itself (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

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
@rooty rooty self-assigned this Oct 8, 2026
@rooty
rooty marked this pull request as ready for review October 8, 2026 21:18
@rooty
rooty merged commit 13387d8 into main Oct 8, 2026
2 checks passed
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.

2 participants