Skip to content

Commit

Permalink
ci: add arm64-darwin coverage using macos-14
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
flavorjones committed May 13, 2024
1 parent 67b9e86 commit 41b4f08
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 41b4f08

Please sign in to comment.