From 0ee618cdfdacea54d68437173f6afd3e87082d88 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 30 Dec 2022 03:38:40 +0000 Subject: [PATCH] CI: Build release binaries for Apple ARM64 Closes str4d/age-plugin-yubikey#71. --- .github/workflows/release.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5cf9ef..2eb59a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,11 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - name: [linux, windows, macos] + name: + - linux + - macos-arm64 + - macos-x86_64 + - windows include: - name: linux os: ubuntu-18.04 @@ -31,7 +35,14 @@ jobs: archive_name: age-plugin-yubikey.zip asset_suffix: x86_64-windows.zip - - name: macos + - name: macos-arm64 + os: macos-latest + target: aarch64-apple-darwin + build_flags: --target aarch64-apple-darwin + archive_name: age-plugin-yubikey.tar.gz + asset_suffix: arm64-darwin.tar.gz + + - name: macos-x86_64 os: macos-latest archive_name: age-plugin-yubikey.tar.gz asset_suffix: x86_64-darwin.tar.gz