Skip to content

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 10 Jun 14:34
a1d3c1c
Static Linux prebuilt binaries (musl) + CI release workflow (#1)

* Add static Linux prebuilt binaries (musl) and CI release workflow

Build dependency-free Linux binaries for x86_64 and aarch64 with the Swift
Static Linux SDK (musl), so a single download runs on any distro with no Swift
runtime installed.

- scripts/release-linux.sh: cross-compile both arches and package as tar.gz.
- .github/workflows/release.yml: build on push/PR (uploaded as workflow
  artifacts for testing) and attach to the GitHub release on a tag. macOS stays
  the manual signed/notarised local build.
- install.sh: download the prebuilt for the platform (macOS universal / Linux
  static), falling back to building from source (FROM_SOURCE=1 forces source).
- README.md, docs/index.html, docs/llms.txt: list the prebuilt packages.
- RELEASING.md + AGENTS.md: document the release process and its caveats
  (Static SDK version must match the toolchain; the SDK needs a swift.org
  toolchain, not Apple's; asset names are a contract with install.sh).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* release-linux: strip at link time (-Xlinker -s) so aarch64 is stripped too

A host strip only handles its native arch, so the cross-compiled aarch64
binary was left unstripped (~167MB vs ~63MB). Stripping via lld at link time
works for both arches.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* release: create the GitHub release as a draft until the macOS zip is added

The release stays a draft so it never becomes the 'latest' that install.sh
reads with only the Linux binaries attached; publish it after uploading the
signed macOS universal zip.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>