From d8217522c77f6b4b464f2124b6997e097da0a8c7 Mon Sep 17 00:00:00 2001 From: Sean Young Date: Thu, 27 Jun 2024 14:24:01 +0100 Subject: [PATCH] macOS 11 runners are being removed (#1657) See: https://github.blog/changelog/2024-05-20-actions-upcoming-changes-to-github-hosted-macos-runners/ We should try and build on the oldest supported platform, so that the binaries run on as many platforms as possible. Signed-off-by: Sean Young --- .github/workflows/release.yml | 5 +---- .github/workflows/test.yml | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 484629694..722ac9690 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,10 +118,7 @@ jobs: mac-intel: name: Mac Intel - # The Hyperledger self-hosted intel macs have the label macos-latest - # and run macos 12. We don't want to build llvm on macos 12, because - # then it can't be used on macos 11. - runs-on: macos-11 + runs-on: macos-12 steps: - name: Checkout sources uses: actions/checkout@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 39f17f1e0..6c7fadd46 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -199,7 +199,7 @@ jobs: mac-intel: name: Mac Intel - runs-on: macos-11 + runs-on: macos-12 steps: - name: Checkout sources uses: actions/checkout@v3 @@ -223,7 +223,7 @@ jobs: mac-universal: name: Mac Universal Binary - runs-on: macos-11 + runs-on: macos-12 needs: [mac-arm, mac-intel] steps: - uses: actions/download-artifact@v3