From baad0d780d14c6a832e7d43501f058dadb34b803 Mon Sep 17 00:00:00 2001 From: TudorAndrei Date: Sat, 14 Nov 2026 23:39:46 +0200 Subject: [PATCH] ci(release): remove macOS Intel target --- .github/workflows/release.yml | 2 -- README.md | 3 ++- docs/installation.md | 6 +++++- scripts/release.py | 6 ++++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d76086..31a63d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,8 +90,6 @@ jobs: target: x86_64-unknown-linux-gnu - runner: ubuntu-24.04-arm target: aarch64-unknown-linux-gnu - - runner: macos-15-intel - target: x86_64-apple-darwin - runner: macos-15 target: aarch64-apple-darwin runs-on: ${{ matrix.runner }} diff --git a/README.md b/README.md index c069779..0cef437 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,8 @@ network access, and the node removes the folder when the task ends. [agent installation router](https://flowcopilot.github.io/aether/agent.md#choose-your-agent-route) for your agent environment and its supported adapter or MCP setup. -Aether runs on Linux and macOS, on Intel/AMD and Arm processors. +Release binaries support Linux on Intel/AMD and Arm processors, and macOS +on Apple Silicon. Choose an installation method in the [installation guide](docs/installation.md): Homebrew, a Debian package with `apt`, a binary archive, Cargo, or a source build with mise. Homebrew, `apt`, and the binary archives install a diff --git a/docs/installation.md b/docs/installation.md index cbb9267..909c06f 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -11,7 +11,7 @@ The release workflow builds these packages: - Linux, x86-64 and Arm64: a binary archive and a Debian package. The builds use Ubuntu 24.04. Use Ubuntu 24.04 or a compatible system with glibc 2.39 or later. Alpine Linux needs a source build with its own build tools. -- macOS 15 or later, Intel and Apple Silicon: a binary archive. +- macOS 15 or later, Apple Silicon: a binary archive. Windows is not supported. The node and its agent adapters use Unix sockets. @@ -72,6 +72,10 @@ case "$(uname -m)" in x86_64) cpu=x86_64 ;; *) echo 'Unsupported processor' >&2; exit 1 ;; esac +if [ "$platform" = apple-darwin ] && [ "$cpu" = x86_64 ]; then + echo 'macOS binary archives require Apple Silicon' >&2 + exit 1 +fi gh release download --repo flowcopilot/aether --pattern "aether-*-${cpu}-${platform}.tar.gz" --pattern SHA256SUMS ``` diff --git a/scripts/release.py b/scripts/release.py index 9165dad..8839ab4 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -15,7 +15,6 @@ TARGETS = { "x86_64-unknown-linux-gnu": ("linux", "amd64"), "aarch64-unknown-linux-gnu": ("linux", "arm64"), - "x86_64-apple-darwin": ("macos", "amd64"), "aarch64-apple-darwin": ("macos", "arm64"), } @@ -92,7 +91,10 @@ def finalize(output, release): formula.append(f" on_{system} do") if system == "macos": formula.append(' depends_on macos: :sequoia') - for arch, cpu in (("arm", "aarch64"), ("intel", "x86_64")): + architectures = (("arm", "aarch64"),) + if system == "linux": + architectures += (("intel", "x86_64"),) + for arch, cpu in architectures: name = archive_name(release, f"{cpu}-{suffix}") checksum = hashlib.sha256((output / name).read_bytes()).hexdigest() formula.extend([