diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4060459cf..284dff19e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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, @@ -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' } diff --git a/README.md b/README.md index 7bfe77460..46cb41ce7 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/common.js b/common.js index d283e0235..9318486c8 100644 --- a/common.js +++ b/common.js @@ -169,6 +169,7 @@ const GitHubHostedPlatforms = [ 'macos-12-x64', 'macos-13-x64', 'macos-13-arm64', + 'macos-14-arm64', 'windows-2019-x64', 'windows-2022-x64', ] diff --git a/dist/index.js b/dist/index.js index 4dfdcb3e1..c475acd36 100644 --- a/dist/index.js +++ b/dist/index.js @@ -529,6 +529,7 @@ const GitHubHostedPlatforms = [ 'macos-12-x64', 'macos-13-x64', 'macos-13-arm64', + 'macos-14-arm64', 'windows-2019-x64', 'windows-2022-x64', ]