From 6a5e7e772f469b913950a2f3d30d613a2ca4a157 Mon Sep 17 00:00:00 2001 From: Thomas Lekanger Date: Thu, 21 Sep 2023 19:19:22 +0200 Subject: [PATCH] feat: build for more platforms --- .github/workflows/release.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e07019..e6d098f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,13 +17,23 @@ jobs: upload-assets: strategy: matrix: - os: - - ubuntu-latest - - macos-latest - - windows-latest + include: + - target: aarch64-unknown-linux-gnu + os: ubuntu-latest + - target: x86_64-unknown-linux-gnu + os: ubuntu-latest + - target: aarch64-apple-darwin + os: macos-latest + - target: x86_64-unknown-linux-gnu + os: ubuntu-latest + - target: x86_64-apple-darwin + os: macos-latest + # Universal macOS binary is supported as universal-apple-darwin. + - target: universal-apple-darwin + os: macos-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: taiki-e/upload-rust-binary-action@v1 with: bin: belabot