diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7cdb4bc..7bd5545 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,7 +68,7 @@ jobs: path: dist build_macos_amd64: - runs-on: macos-latest + runs-on: macos-13 steps: - name: Checkout uses: actions/checkout@v3 @@ -94,8 +94,35 @@ jobs: name: cb_macos_amd64 path: dist +build_macos_arm64: + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install crystal + run: brew install crystal + + - name: Install gon via homebrew for code signing and app notarization + run: | + brew tap mitchellh/gon + brew install mitchellh/gon/gon + + - name: Install dependencies + run: shards install + + - name: Build + run: | + make release RELEASE=1 STATIC_LIBS=1 + + - name: Upload release bundle artifact + uses: actions/upload-artifact@v3 + with: + name: cb_macos_arm64 + path: dist + release: - needs: [build_linux_amd64, build_linux_aarch64, build_macos_amd64] + needs: [build_linux_amd64, build_linux_aarch64, build_macos_amd64, build_macos_arm64] runs-on: ubuntu-latest steps: - name: Determine version