- Notifications
You must be signed in to change notification settings - Fork 2
Update build.yml to fix macOs build #46
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
Caution Review failedThe pull request is closed. WalkthroughThe pull request updates the macOS build configuration in the GitHub Actions workflow. It removes specific CMake MinSizeRel flags, adjusts comment and step naming for consistent capitalization of "macOS", and expands the binary renaming step by adding commands to print version information post-renaming. Additionally, a test workflow file is deleted, which previously facilitated the testing of static binaries across multiple environments. The README file is updated to reflect improved compatibility for the Changes
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File ( |
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.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/build.yml (2)
141-147
: Consistent macOS Naming in Patch Step
The step name now reads “patch cmake implicit link libraries on macOS” with the proper capitalization, which improves readability. Note that the conditional still checksmatrix.os == 'macosx'
because that is the value defined in the matrix; this is acceptable as long as the displayed names follow the desired format.
161-172
: Enhanced Binary Version Verification
Adding the version check commands after renaming the output binaries is a solid improvement. These commands help verify that the binaries are not only renamed correctly but are executable and report their version as expected. For extra robustness, consider incorporating error handling in case any of these binaries fail to return a version (for example, by checking the exit status and logging a clear error message).
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/build.yml
(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (20)
- GitHub Check: build (9, linux)
- GitHub Check: build (14, macosx)
- GitHub Check: build (11, linux)
- GitHub Check: build (10, linux)
- GitHub Check: build (13, macosx)
- GitHub Check: build (12.0.1, macosx)
- GitHub Check: build (14, linux)
- GitHub Check: build (13, linux)
- GitHub Check: build (16, linux)
- GitHub Check: build (16, windows)
- GitHub Check: build (17, linux)
- GitHub Check: build (15, windows)
- GitHub Check: build (15, macosx)
- GitHub Check: build (18, windows)
- GitHub Check: build (20, linux)
- GitHub Check: build (20, windows)
- GitHub Check: build (19, windows)
- GitHub Check: build (19, linux)
- GitHub Check: build (20, macosx)
- GitHub Check: build (18, linux)
🔇 Additional comments (1)
.github/workflows/build.yml (1)
97-98
: Clarify Download Patches Comments
The updated comments now clearly explain why a tarball is downloaded instead of relying on the local .git directory, thereby preventing any inadvertent leakage of the commit hash into the binaries.
Summary by CodeRabbit
clang-tidy
on macOS 64 to support versions 19 and 20.clang-tidy
binaries, indicating resolution of previous issues.