Skip to content

Commit 41b4f08

Browse files
committed
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 2a8d1e4)
1 parent 67b9e86 commit 41b4f08

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/ci.yml

+22-2
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ jobs:
544544
plat:
545545
- "aarch64-linux"
546546
- "arm-linux"
547-
- "arm64-darwin" # github actions does not support this runtime as of 2022-12, but let's build anyway
547+
- "arm64-darwin"
548548
- "x64-mingw-ucrt"
549549
- "x64-mingw32"
550550
- "x86-linux"
@@ -681,7 +681,7 @@ jobs:
681681
fail-fast: false
682682
matrix:
683683
ruby: ["3.0", "3.1", "3.2", "3.3"]
684-
runs-on: macos-latest
684+
runs-on: macos-13
685685
steps:
686686
- uses: actions/checkout@v4
687687
with:
@@ -695,6 +695,26 @@ jobs:
695695
path: gems
696696
- run: ./scripts/test-gem-install gems
697697

698+
cruby-arm64-darwin-install:
699+
needs: ["cruby-package"]
700+
strategy:
701+
fail-fast: false
702+
matrix:
703+
ruby: ["3.0", "3.1", "3.2", "3.3"]
704+
runs-on: macos-14
705+
steps:
706+
- uses: actions/checkout@v4
707+
with:
708+
submodules: true
709+
- uses: ruby/setup-ruby@v1
710+
with:
711+
ruby-version: "${{matrix.ruby}}"
712+
- uses: actions/download-artifact@v4
713+
with:
714+
name: cruby-arm64-darwin-gem
715+
path: gems
716+
- run: ./scripts/test-gem-install gems
717+
698718
cruby-x64-mingw32-install:
699719
needs: ["cruby-package"]
700720
strategy:

0 commit comments

Comments
 (0)