From dab9e1864e9d4d4a11999a536aefd671db8703d5 Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Sun, 26 Jul 2026 21:19:47 -0500 Subject: [PATCH 1/3] try to build for macOS arm64 --- .github/workflows/release.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e369a8a..a16f33f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,9 @@ name: Release Binaries on: + pull_request: + branches: + - main push: branches: [ main ] tags: @@ -15,7 +18,16 @@ env: jobs: release: - runs-on: ubuntu-26.04 + strategy: + fail-fast: false + matrix: + include: + - os: ubuntu-26.04 + target: x86_64-unknown-linux-gnu + - os: macos-26 + target: aarch64-apple-darwin + + runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v7 @@ -29,10 +41,10 @@ jobs: run: | set -eoux pipefail mkdir -p dist - cp target/release/${BIN_NAME} dist/${BIN_NAME} + cp target/release/${BIN_NAME} dist/${BIN_NAME}-${{ matrix.target }} - name: Upload artifact uses: actions/upload-artifact@v7 with: - name: ${{ env.BIN_NAME }}-x86_64-unknown-linux-gnu-${{ github.sha }} + name: ${{ env.BIN_NAME }}-${{ matrix.target }}-${{ github.sha }} path: dist/* From 97fcd8163397687fcc54e1fc5812d15f4af138df Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Sun, 26 Jul 2026 21:31:40 -0500 Subject: [PATCH 2/3] build for windows amd64 also --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ceef2be..943015b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ on: jobs: check: - runs-on: macos-latest + runs-on: macos-26 steps: - uses: actions/checkout@v7 - run: rustup toolchain install stable --profile=minimal --component=clippy --component=rustfmt @@ -21,7 +21,7 @@ jobs: test: strategy: matrix: - os: [macos-latest, ubuntu-latest, windows-latest] + os: [macos-26, ubuntu-26.04, windows-2025] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a16f33f..232eb0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: target: x86_64-unknown-linux-gnu - os: macos-26 target: aarch64-apple-darwin + - os: windows-2025 + target: x86_64-pc-windows-msvc runs-on: ${{ matrix.os }} steps: From a3b6870d8463509c5eec44c353904d067360afad Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Sun, 26 Jul 2026 21:35:39 -0500 Subject: [PATCH 3/3] try to fix Windows --- .github/workflows/release.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 232eb0e..d9ba19a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,13 +35,10 @@ jobs: uses: actions/checkout@v7 - name: Build release + shell: bash run: | set -euox pipefail cargo build --release - - - name: Prepare artifact - run: | - set -eoux pipefail mkdir -p dist cp target/release/${BIN_NAME} dist/${BIN_NAME}-${{ matrix.target }}