Skip to content

Commit

Permalink
Removed macos-arm-oss from GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jul 5, 2024
1 parent 6f7e7eb commit f9618ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-12, macos-arm-oss ]
os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-12, macos-14 ]
ruby: [jruby-9.4.8.0]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -25,7 +25,6 @@ jobs:
run: |
platform=${{ matrix.os }}
platform=${platform/macos-12/macos-latest}
platform=${platform/macos-arm-oss/macos-13-arm64}
echo "platform=$platform" >> $GITHUB_OUTPUT
- name: Set ruby
id: ruby
Expand Down Expand Up @@ -95,7 +94,7 @@ jobs:
# https://github.com/rbenv/ruby-build/discussions/1961#discussioncomment-4031745
- name: Override RUBY_CONFIGURE_OPTS if macos-arm64 ruby-3.1
run: echo 'RUBY_CONFIGURE_OPTS=--disable-shared --disable-install-doc' >> $GITHUB_ENV
if: matrix.os == 'macos-arm-oss' && startsWith(steps.ruby.outputs.ruby, 'ruby-3.1')
if: matrix.os == 'macos-14' && startsWith(steps.ruby.outputs.ruby, 'ruby-3.1')

- name: Build Ruby
run: ruby-build --verbose $RUBY_BUILD_RUBY_NAME $PREFIX
Expand Down

0 comments on commit f9618ae

Please sign in to comment.