From 41b4f0846d2c264b48ef93ecd034dd230ab8125a Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Fri, 26 Apr 2024 14:47:29 -0400 Subject: [PATCH] ci: add arm64-darwin coverage using macos-14 Also, pin the x86_64-darwin test to macos-13. See flavorjones/ruby-c-extensions-explained#30 for more context. (cherry picked from commit 2a8d1e47b757a8ccfc0150d155b03fee1a41a8dd) --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98e8fc4cdc..7ce7b3cad9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -544,7 +544,7 @@ jobs: plat: - "aarch64-linux" - "arm-linux" - - "arm64-darwin" # github actions does not support this runtime as of 2022-12, but let's build anyway + - "arm64-darwin" - "x64-mingw-ucrt" - "x64-mingw32" - "x86-linux" @@ -681,7 +681,7 @@ jobs: fail-fast: false matrix: ruby: ["3.0", "3.1", "3.2", "3.3"] - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v4 with: @@ -695,6 +695,26 @@ jobs: path: gems - run: ./scripts/test-gem-install gems + cruby-arm64-darwin-install: + needs: ["cruby-package"] + strategy: + fail-fast: false + matrix: + ruby: ["3.0", "3.1", "3.2", "3.3"] + runs-on: macos-14 + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - uses: ruby/setup-ruby@v1 + with: + ruby-version: "${{matrix.ruby}}" + - uses: actions/download-artifact@v4 + with: + name: cruby-arm64-darwin-gem + path: gems + - run: ./scripts/test-gem-install gems + cruby-x64-mingw32-install: needs: ["cruby-package"] strategy: