Add Homebrew installation support#58
Open
vlasky wants to merge 1 commit into
Open
Conversation
- Add Formula/semtools.rb with platform-specific prebuilt binary downloads - Add update-homebrew.yml workflow to auto-update formula SHA256s on release - Add x86_64-apple-darwin target to release matrix for Intel Mac support - Update README with brew install instructions
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.
Summary
Formula/semtools.rbHomebrew formula that downloads prebuilt binaries per-platform (macOS ARM/Intel, Linux ARM/x86_64)update-homebrew.ymlGitHub Actions workflow that automatically updates formula SHA256 checksums when a new release is publishedx86_64-apple-darwin(Intel Mac) target to the release build matrix so Homebrew users on Intel Macs get a native binarybrew tap/brew installinstructionsHow it works
With the formula in this repo, users install via:
Simpler installation with a tap repo
To enable the shorter:
You would need to create a
run-llama/homebrew-taprepo containing just theFormula/directory. Homebrew auto-resolvesrun-llama/taptogithub.com/run-llama/homebrew-tap. Steps:run-llama/homebrew-tapFormula/semtools.rbinto itupdate-homebrew.ymlworkflow to push formula updates to that repo instead (requires a PAT or deploy key with write access to the tap repo)Test plan
brew style(rubocop linting)brew auditbrew installon Linux x86_64semtools --help)brew test)