Repository navigation
CI: Skip ruby-head on macos-14 - #161
Closed
olleolleolle wants to merge 1 commit into
Closed
olleolleolle wants to merge 1 commit into
olleolleolle wants to merge 1 commit into
Conversation
The prebuilt arm64 ruby-head is built on macOS 15, whose clang supports -std=gnu23. That flag ends up in RbConfig, and Xcode 15 clang on macos-14 rejects it, so compiling the extension fails.
Member
|
Thanks for tracking down the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The prebuilt arm64 ruby-head (from ruby/ruby-dev-builder) is built on macOS 15, whose clang accepts
-std=gnu23. That flag is baked into RbConfig, and when setup-ruby serves the same binary to macos-14, Xcode 15's clang rejects it:Example failure: https://github.com/ruby/digest/actions/runs/41408063099/job/125154558157
This excludes the macos-14/head combination. Ruby head on macOS is still covered by macos-15-intel.