From 232df8cdf3ca73afbb871d79a068f49a15d07fe8 Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Sun, 28 Apr 2024 12:58:04 +0100 Subject: [PATCH] Adjust Github CI since macos-latest is now AArch64 --- .github/workflows/rust.yml | 4 ++-- ci/run.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d60a8e28f..e30f34c97 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -60,13 +60,13 @@ jobs: channel: [1.74.0, nightly] include: - os: macos-latest - target: x86_64-apple-darwin + target: aarch64-apple-darwin channel: nightly - os: windows-latest target: x86_64-pc-windows-msvc channel: nightly - os: macos-latest - target: x86_64-apple-darwin + target: aarch64-apple-darwin channel: 1.74.0 - os: windows-latest target: x86_64-pc-windows-msvc diff --git a/ci/run.sh b/ci/run.sh index 649877723..3990ccd2b 100644 --- a/ci/run.sh +++ b/ci/run.sh @@ -5,7 +5,7 @@ set -ex : "${TARGET?The TARGET environment variable must be set.}" case "${TARGET}" in - x86_64-unknown-linux-gnu|x86_64-apple-darwin|x86_64-pc-windows-msvc) + x86_64-unknown-linux-gnu|x86_64-apple-darwin|aarch64-apple-darwin|x86_64-pc-windows-msvc) CROSS=0 NO_STD=0 ;;