Skip to content

Commit ac0d6e6

Browse files
author
KJ Tsanaktsidis
committed
Don't try and build for Ruby < 2.6 on macos ARM
It doesn't work. Using macos-13 will build on intel machines and will work, however. This is the recommendation from the setup-ruby action.
1 parent d2bc2d2 commit ac0d6e6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
matrix:
1717
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
1818
os: [ubuntu-latest, macos-latest]
19+
exclude:
20+
- { os: macos-latest, ruby: '2.4' }
21+
- { os: macos-latest, ruby: '2.5' }
22+
include:
23+
- { os: macos-13, ruby: '2.4' }
24+
- { os: macos-13, ruby: '2.5' }
1925
runs-on: ${{ matrix.os }}
2026
steps:
2127
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)