diff --git a/.github/workflows/build-binary.yml b/.github/workflows/build-binary.yml index e0eae80..61b578b 100644 --- a/.github/workflows/build-binary.yml +++ b/.github/workflows/build-binary.yml @@ -10,14 +10,24 @@ permissions: jobs: build: - name: Build ${{ matrix.arch }} + name: Build ${{ matrix.platform }}-${{ matrix.arch }} strategy: matrix: include: + # Linux - os: ubuntu-latest arch: x86_64 + platform: linux - os: ubuntu-24.04-arm arch: arm64 + platform: linux + # macOS + - os: macos-15-intel + arch: x86_64 + platform: darwin + - os: macos-15 + arch: arm64 + platform: darwin runs-on: ${{ matrix.os }} @@ -42,8 +52,8 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v5 with: - name: shannot-binary-${{ matrix.arch }} - path: dist/shannot-linux-${{ matrix.arch }} + name: shannot-binary-${{ matrix.platform }}-${{ matrix.arch }} + path: dist/shannot-${{ matrix.platform }}-${{ matrix.arch }} upload-release: name: Upload to GitHub Release @@ -54,16 +64,28 @@ jobs: contents: write steps: - - name: Download x86_64 binary + - name: Download Linux x86_64 binary + uses: actions/download-artifact@v7 + with: + name: shannot-binary-linux-x86_64 + path: dist/ + + - name: Download Linux arm64 binary + uses: actions/download-artifact@v7 + with: + name: shannot-binary-linux-arm64 + path: dist/ + + - name: Download macOS x86_64 binary uses: actions/download-artifact@v7 with: - name: shannot-binary-x86_64 + name: shannot-binary-darwin-x86_64 path: dist/ - - name: Download arm64 binary + - name: Download macOS arm64 binary uses: actions/download-artifact@v7 with: - name: shannot-binary-arm64 + name: shannot-binary-darwin-arm64 path: dist/ - name: Upload to GitHub Release diff --git a/CHANGELOG.md b/CHANGELOG.md index b5b0999..e4eaa0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.8.6] - 2025-12-26 + +### Features + +- Add macOS binary builds for both Intel (x86_64) and Apple Silicon (arm64) + - Binaries: `shannot-darwin-x86_64`, `shannot-darwin-arm64` + - Built with Nuitka `--onefile` mode (same as Linux) + ## [0.8.5] - 2025-12-26 ### Bug Fixes diff --git a/pyproject.toml b/pyproject.toml index cf96153..cc86bde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "shannot" -version = "0.8.5" +version = "0.8.6" description = "Sandboxed system administration for LLM agents" readme = "README.md" license = {text = "Apache-2.0"}