From d767b87f90a207a1c579f9cade1efb8e3e9353b7 Mon Sep 17 00:00:00 2001 From: Niek van der Maas Date: Wed, 7 Sep 2022 09:55:33 +0200 Subject: [PATCH] Add arm64 releases for Linux and macOS This adds `aarch64` (arm64) releases for both Linux and macOS. --- .github/workflows/release.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ee2d515f..719211608 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,10 +26,17 @@ jobs: upload-assets: strategy: matrix: - os: - - ubuntu-latest - - macos-latest - - windows-latest + include: + - target: aarch64-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 + - target: x86_64-pc-windows-gnu + os: windows-latest runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -44,6 +51,8 @@ jobs: # [default value: windows] # [possible values: all, unix, windows, none] zip: windows + # (optional) Target triple, default is host triple. + target: ${{ matrix.target }} env: # (required) GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}