-
Notifications
You must be signed in to change notification settings - Fork 85
Add macOS ARM64/x86_64 brew-ready release bundle and signing flow #319
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0408252
Add macOS ARM64 brew-ready release bundle and signing flow.
hoffmang9 c65cf5c
Sign macOS ARM64 CI bundles whenever Apple secrets are available.
hoffmang9 febd372
Use grep for macOS bundle rpath checks in CI.
hoffmang9 a0280db
Update macOS hardware client rpath and clean workflow env vars
hoffmang9 7c63b06
Clarify macOS bundle rpath rewrite during assembly
hoffmang9 e739737
Avoid re-signing libft4222 symlink in macOS bundle workflow
hoffmang9 73e4ad8
fix(ci): replace rg with grep in macOS signing step to avoid runner f…
hoffmang9 d975493
make macOS arm64 GMP linking explicitly static in CI builds
hoffmang9 6c8015e
Revert static macOS GMP linking in CI and add prerequisite reminder.
hoffmang9 7e03d57
Merge origin/main into feat/macos-brew-bundle-portability.
hoffmang9 0b753bd
fix(ci): make macOS ARM64 bundle rpath updates conditional
hoffmang9 6806c87
Merge origin/main into feat/macos-brew-bundle-portability.
hoffmang9 102161d
fix(ci): sign macOS FTDI dylibs and emit codesign audit summary
hoffmang9 9f7e79c
fix(ci): handle optional macOS codesign artifact upload
hoffmang9 600561e
fix(ci): relax macOS Developer ID verification fallback
hoffmang9 dcc90f3
fix(ci): publish macOS Intel brew bundle artifacts
hoffmang9 4dac080
fix(ci): require notarized macOS release bundles
hoffmang9 043ec60
fix(ci): allow workflow_dispatch macOS notarization requests
hoffmang9 8194d88
fix(ci): emit homebrew metadata from release workflow
hoffmang9 09351dc
fix(ci): flatten chiavdf homebrew trigger payload
hoffmang9 ba269bf
fix(ci): send only release_version to homebrew trigger
hoffmang9 4b148af
fix(ci): enforce strict macOS release signing and streamline brew pay…
hoffmang9 8e2e06e
fix(ci): restore glue trigger release tag payload
hoffmang9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| # macOS ARM64 release bundle for Homebrew | ||
|
|
||
| This repository publishes a macOS ARM64 release archive intended for Homebrew/cask consumption. | ||
|
|
||
| ## Archive layout | ||
|
|
||
| - `bin/` | ||
| - `hw_vdf_client` | ||
| - `emu_hw_vdf_client` | ||
| - `hw_test` | ||
| - `emu_hw_test` | ||
| - `vdf_client` | ||
| - `vdf_bench` | ||
| - `libexec/chiavdf/` | ||
| - `libft4222.dylib` | ||
| - `libft4222.1.4.4.190.dylib` | ||
| - `libftd2xx.dylib` | ||
|
|
||
| ## Dynamic library path policy | ||
|
|
||
| - Hardware binaries may be built with a development-time rpath, then are rewritten during bundle assembly. | ||
| - The bundle assembly step removes development-time rpaths and sets `@loader_path/../libexec/chiavdf` on macOS. | ||
| - FTDI dylibs use `@rpath` install names. | ||
| - CI verifies with `otool` that release binaries do not reference local absolute build paths. | ||
|
|
||
| ## Signing and notarization behavior | ||
|
|
||
| - Release run with Apple secrets available: | ||
| - Sign FTDI dylibs and binaries with Developer ID. | ||
| - Notarize the final release zip with `notarytool`. | ||
| - Release run without Apple secrets: | ||
| - Publish an unsigned fallback zip with `-unsigned` suffix. | ||
| - Upload a signing status metadata file with the release assets. | ||
|
|
||
| ## Local development | ||
|
|
||
| - `scripts/get-libft4222.sh install` does not require code signing. | ||
| - The script clears macOS download attributes on fetched FTDI files. | ||
| - Optional local escape hatch: | ||
| - `CHIAVDF_ADHOC_SIGN_FTDI=1 ./scripts/get-libft4222.sh install` |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.