Skip to content

Commit d1a41a8

Browse files
authored
ci: add arm64-darwin coverage using macos-14 (#3184)
**What problem is this PR intended to solve?** 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.
2 parents 9b3f287 + 2a8d1e4 commit d1a41a8

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
@@ -551,7 +551,7 @@ jobs:
551551
plat:
552552
- "aarch64-linux"
553553
- "arm-linux"
554-
- "arm64-darwin" # github actions does not support this runtime as of 2022-12, but let's build anyway
554+
- "arm64-darwin"
555555
- "x64-mingw-ucrt"
556556
- "x64-mingw32"
557557
- "x86-linux"
@@ -688,7 +688,7 @@ jobs:
688688
fail-fast: false
689689
matrix:
690690
ruby: ["3.0", "3.1", "3.2", "3.3"]
691-
runs-on: macos-latest
691+
runs-on: macos-13
692692
steps:
693693
- uses: actions/checkout@v4
694694
with:
@@ -702,6 +702,26 @@ jobs:
702702
path: gems
703703
- run: ./scripts/test-gem-install gems
704704

705+
cruby-arm64-darwin-install:
706+
needs: ["cruby-package"]
707+
strategy:
708+
fail-fast: false
709+
matrix:
710+
ruby: ["3.0", "3.1", "3.2", "3.3"]
711+
runs-on: macos-14
712+
steps:
713+
- uses: actions/checkout@v4
714+
with:
715+
submodules: true
716+
- uses: ruby/setup-ruby@v1
717+
with:
718+
ruby-version: "${{matrix.ruby}}"
719+
- uses: actions/download-artifact@v4
720+
with:
721+
name: cruby-arm64-darwin-gem
722+
path: gems
723+
- run: ./scripts/test-gem-install gems
724+
705725
cruby-x64-mingw32-install:
706726
needs: ["cruby-package"]
707727
strategy:

0 commit comments

Comments
 (0)