-
Notifications
You must be signed in to change notification settings - Fork 506
ORC-2046: Fix macos-14-arm64 CI failure #2455
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
Conversation
9688759 to
abfbf54
Compare
|
Thank you, @cxzl25 . If it's difficult, we may want to upgrade MacOS CI inevitably in |
As described in the issue associated with the PR, I estimate that the reason is that the CI of the 1.9 branch failed due to the upgrade of macos image cmake from version 3.x to 4.x. |
|
Got it. Thank you for investigating. |
| - name: Install CMake | ||
| if: matrix.os == 'macos-14' | ||
| run: | | ||
| # Pin cmake to 3.31.6 due to a backward compatibility issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refer to this code to install cmake 3.x version.
https://github.com/actions/runner-images/pull/12791
This reverts commit abfbf54.
|
If this is ready, could you make this |
|
cc @williamhyun , too. |
|
IIUC, the error message looks like the following, right? |
Yes, because after the macos image was upgraded, the cmake version was also upgraded, causing CI to fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR addresses a backward compatibility issue introduced by a GitHub Actions runner image update on macOS-14 that broke the build. The solution pins CMake to version 3.31.6 using Homebrew to maintain compatibility with the project's CMake configuration.
Key Changes
- Added a new step to install a pinned version of CMake (3.31.6) on macOS-14 runners
- Uses Homebrew tap mechanism to install a specific CMake version from a historical commit
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Could you file an official JIRA issue and use it in the PR title? |
Sure. I've created the JIRA issue and updated the PR title. |
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM.
|
When you have some time, could you do the review and the final sign-off as a release manager, @williamhyun ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Thank you @cxzl25 and @dongjoon-hyun, will be merging this now!
### What changes were proposed in this pull request? ### Why are the changes needed? ``` actions/runner-images#12934 ``` Success https://github.com/apache/orc/actions/runs/17684310687/job/50265505914 ``` Runner Image Image: macos-14-arm64 Version: 20250901.1774 Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20250901.1774/images/macos/macos-14-arm64-Readme.md ``` Failed https://github.com/apache/orc/actions/runs/18735596344/job/53524232003?pr=2452 ``` Runner Image Image: macos-14-arm64 Version: 20251013.0032 Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20251013.0032/images/macos/macos-14-arm64-Readme.md ``` ### How was this patch tested? ### Was this patch authored or co-authored using generative AI tooling? Closes #2455 from cxzl25/env_cmake. Authored-by: sychen <sychen@ctrip.com> Signed-off-by: William Hyun <william@apache.org>

What changes were proposed in this pull request?
Why are the changes needed?
Success https://github.com/apache/orc/actions/runs/17684310687/job/50265505914
Failed https://github.com/apache/orc/actions/runs/18735596344/job/53524232003?pr=2452
How was this patch tested?
Was this patch authored or co-authored using generative AI tooling?