Skip to content

Commit

Permalink
ci: add arm64-darwin coverage using macos-14 (#3184)
Browse files Browse the repository at this point in the history
**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.
  • Loading branch information
flavorjones committed Apr 26, 2024
2 parents 9b3f287 + 2a8d1e4 commit d1a41a8
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -551,7 +551,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"
Expand Down Expand Up @@ -688,7 +688,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:
Expand All @@ -702,6 +702,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:
Expand Down

0 comments on commit d1a41a8

Please sign in to comment.