Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #18

Merged
merged 2 commits into from
Sep 15, 2024
Merged

Fix CI #18

merged 2 commits into from
Sep 15, 2024

Conversation

makicamel
Copy link
Owner

Either use a newer Ruby version or use a macOS image running on amd64, e.g., macos-13 or macos-12.
Note that GitHub changed the meaning of macos-latest from macos-12 (amd64) to macos-14 (arm64):
https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/

If you are using a matrix of Ruby versions, a good solution is to run only < 2.6 on amd64, like so:
matrix:
  ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
  os: [ ubuntu-latest, macos-latest ]
  # CRuby < 2.6 does not support macos-arm64, so test those on amd64 instead
  exclude:
  - { os: macos-latest, ruby: '2.4' }
  - { os: macos-latest, ruby: '2.5' }
  include:
  - { os: macos-13, ruby: '2.4' }
  - { os: macos-13, ruby: '2.5' }

But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines.

@makicamel makicamel force-pushed the fix-ci branch 3 times, most recently from 9bc0434 to c6e0959 Compare September 15, 2024 04:10
```
Either use a newer Ruby version or use a macOS image running on amd64, e.g., macos-13 or macos-12.
Note that GitHub changed the meaning of macos-latest from macos-12 (amd64) to macos-14 (arm64):
https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/

If you are using a matrix of Ruby versions, a good solution is to run only < 2.6 on amd64, like so:
matrix:
  ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
  os: [ ubuntu-latest, macos-latest ]
  # CRuby < 2.6 does not support macos-arm64, so test those on amd64 instead
  exclude:
  - { os: macos-latest, ruby: '2.4' }
  - { os: macos-latest, ruby: '2.5' }
  include:
  - { os: macos-13, ruby: '2.4' }
  - { os: macos-13, ruby: '2.5' }

But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines.
```
@makicamel makicamel merged commit d3c7aa6 into main Sep 15, 2024
30 checks passed
@makicamel makicamel deleted the fix-ci branch September 15, 2024 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant