Skip to content

feat: add universal installer support for macOS and Linux#2

Open
levyvix wants to merge 1 commit intoclaudioemmanuel:mainfrom
levyvix:main
Open

feat: add universal installer support for macOS and Linux#2
levyvix wants to merge 1 commit intoclaudioemmanuel:mainfrom
levyvix:main

Conversation

@levyvix
Copy link
Copy Markdown

@levyvix levyvix commented Mar 24, 2026

Summary

  • Add cross-platform build matrix to release workflow (macOS, Linux x86_64, Linux aarch64)
  • Use musl for Linux static builds and cross for aarch64 compilation
  • Generate checksums.sha256 covering all platform binaries
  • Update install.sh to auto-detect OS/arch and download correct binary
  • Use portable sha256sum/shasum detection for checksum verification
  • Reject Windows with clear error message (POSIX signal APIs in wrap.rs)

Test Plan

  • ✅ Tested squeez-linux-x86_64 in Docker - works perfectly
  • ✅ Release workflow builds all 3 binaries + checksums
  • ✅ Installer detects macOS → downloads squeez-macos-universal
  • ✅ Installer detects Linux x86_64 → downloads squeez-linux-x86_64
  • ✅ Installer detects Linux aarch64 → downloads squeez-linux-aarch64
  • ✅ Installer rejects Windows with clear error message

Release Artifacts

https://github.com/levyvix/squeez/releases/tag/v0.2.0

All binaries verified and working in isolated environment.

- Add cross-platform build matrix to release workflow (macOS, Linux x86_64, Linux aarch64)
- Use musl for Linux static builds (x86_64) and cross for aarch64 compilation
- Generate checksums.sha256 covering all platform binaries
- Update install.sh to auto-detect OS/arch and download correct binary
- Use portable sha256sum/shasum detection for checksum verification
- Reject Windows with clear error message (POSIX signal APIs in wrap.rs)
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