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

feat: add support for macos on intel #2802

Merged
merged 7 commits into from
Jan 27, 2025
Merged

feat: add support for macos on intel #2802

merged 7 commits into from
Jan 27, 2025

Conversation

bryanoltman
Copy link
Contributor

@bryanoltman bryanoltman commented Jan 23, 2025

Description

Switches macOS patch creation to use the simpler Android and Windows method of simply diffing the AOT snapshot against the release.

We still need to add validators to ensure that the correct app hardening settings are present in the macOS xcode project (specifically, if app hardening is enabled, that "allow unsigned executable memory" is checked):

Screenshot 2025-01-24 at 5 49 38 PM

I've verified with this that I can patch a mac release on both arm64 and intel machines, although there are some asset changes when using an intel mac to patch a release created on arm64.

Part of #2711

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore
  • 🧪 Tests

Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

throw ArtifactBuildException('Failed to build: $stderr');
throw ArtifactBuildException('''
Failed to build
stdout: $stdout
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stdout occasionally contains useful failure messages that are not included in stderr

@bryanoltman bryanoltman marked this pull request as ready for review January 24, 2025 22:48
@bryanoltman bryanoltman merged commit c9709a6 into main Jan 27, 2025
11 checks passed
@bryanoltman bryanoltman deleted the bo/macos-intel branch January 27, 2025 15:08
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