From 6a2023c2b7acd93c7713d132ead7d54ea5b1d844 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Mon, 29 Jan 2024 11:13:29 -0600 Subject: [PATCH] github: use `macos-14`, add new `aarch64-apple-darwin` release binary GitHub announced these new Apple Silicon based runners today. Let's take them for a spin. Let's also add an entry in the release matrix to build and publish `aarch64- apple-darwin` binaries, too. This doesn't migrate the old release matrix entry; it still uses a `macos-11` runner. This means the x86 binaries should work on a few older macOS versions if users need it. Signed-off-by: Austin Seipp --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 923eed172a..5c09350b09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-13, windows-latest] + os: [ubuntu-latest, macos-14, windows-latest] cargo_flags: [""] include: - os: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6457cbab6f..ca30c627f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,14 +17,17 @@ jobs: strategy: fail-fast: false matrix: - build: [linux-musl, macos, win-msvc] + build: [linux-musl, macos-x86_64, macos-aarch64, win-msvc] include: - build: linux-musl os: ubuntu-20.04 target: x86_64-unknown-linux-musl - - build: macos + - build: macos-x86_64 os: macos-11 target: x86_64-apple-darwin + - build: macos-aarch64 + os: macos-14 + target: aarch64-apple-darwin - build: win-msvc os: windows-2022 target: x86_64-pc-windows-msvc