Skip to content

Commit

Permalink
Add support for macos-14-arm64 GitHub runners
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme authored and eregon committed Jan 31, 2024
1 parent 7f2d473 commit e8677f0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, macos-13, macos-arm-oss, windows-2019, windows-2022 ]
os: [ ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, macos-13, macos-14, macos-arm-oss, windows-2019, windows-2022 ]
ruby: [
'1.9', '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', ruby-head,
jruby, jruby-head,
Expand All @@ -33,6 +33,14 @@ jobs:
exclude:
# https://github.com/ruby/setup-ruby/issues/496
- { os: ubuntu-22.04, ruby: '2.2' }
# Too old, fails to compile on macos-14 (arm64)
- { os: macos-14, ruby: '1.9' }
- { os: macos-14, ruby: '2.0' }
- { os: macos-14, ruby: '2.1' }
- { os: macos-14, ruby: '2.2' }
- { os: macos-14, ruby: '2.3' }
- { os: macos-14, ruby: '2.4' }
- { os: macos-14, ruby: '2.5' }
# Too old, fails to compile on macos-arm-oss
- { os: macos-arm-oss, ruby: '1.9' }
- { os: macos-arm-oss, ruby: '2.0' }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -43,7 +43,7 @@ The action works on these [GitHub-hosted runners](https://docs.github.com/en/act
| Operating System | Supported |
| ---------------- | --------- |
| Ubuntu | `ubuntu-20.04`, `ubuntu-22.04` |
| macOS | `macos-11`, `macos-12`, `macos-13`, `macos-13-xlarge` (arm64) |
| macOS | `macos-11`, `macos-12`, `macos-13`, `macos-13-xlarge` (arm64), `macos-14` (arm64) |
| Windows | `windows-2019`, `windows-2022` |

The prebuilt releases are generated by [ruby-builder](https://github.com/ruby/ruby-builder)
Expand Down
1 change: 1 addition & 0 deletions common.js
Expand Up @@ -169,6 +169,7 @@ const GitHubHostedPlatforms = [
'macos-12-x64',
'macos-13-x64',
'macos-13-arm64',
'macos-14-arm64',
'windows-2019-x64',
'windows-2022-x64',
]
Expand Down
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e8677f0

Please sign in to comment.