Skip to content

Conversation

Sajjon
Copy link
Owner

@Sajjon Sajjon commented Jul 7, 2025

Add support for homebrew but without the need for users to have Rust installed thanks to prebuilt binaries for macOS (Apple Silicon support only, Intel is being phased out) and Linux.

Publishing formula updates to https://github.com/Sajjon/homebrew-klirr

@Sajjon Sajjon requested a review from Copilot July 7, 2025 08:54
Copilot

This comment was marked as outdated.

@Sajjon Sajjon requested a review from Copilot July 7, 2025 09:03
Copilot

This comment was marked as outdated.

Copy link

codecov bot commented Jul 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.90%. Comparing base (1202bb9) to head (9ee2b90).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage   96.90%   96.90%           
=======================================
  Files          76       76           
  Lines        1648     1650    +2     
=======================================
+ Hits         1597     1599    +2     
  Misses         51       51           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Sajjon Sajjon requested a review from Copilot July 7, 2025 09:19
Copilot

This comment was marked as outdated.

@Sajjon Sajjon requested a review from Copilot July 7, 2025 09:53
Copilot

This comment was marked as outdated.

@Sajjon Sajjon requested a review from Copilot July 7, 2025 10:11
Copilot

This comment was marked as outdated.

@Sajjon Sajjon requested a review from Copilot July 7, 2025 10:46
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Add support for Homebrew prebuilt binaries by extending CI workflows to build, release, and publish macOS (Apple Silicon) and Linux artifacts without requiring local Rust installation.

  • Introduce a reusable setup-sccache action for caching Rust compilation
  • Update release workflow to generate, package, and upload binaries, then update Homebrew formula
  • Rename and refactor release steps into create-release, build-and-upload, and update-homebrew jobs

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/test.yml Added Setup sccache steps before Rust toolchain installs
.github/workflows/release.yml Refactored release flow: added sccache, split release jobs, asset build, and Homebrew update
.github/actions/setup-sccache/action.yml New composite action to install, configure, and cache sccache
Comments suppressed due to low confidence (3)

.github/workflows/release.yml:51

  • The indentation of create-release: does not match other job definitions under jobs:. Please align it with the same indent level as other job entries to avoid YAML parsing errors.
  create-release:

.github/workflows/test.yml:32

  • [nitpick] For consistency with the existing Set up Rust step, consider renaming this step to Set up sccache (two words) to match the verb-noun pattern.
            - name: Setup sccache

.github/workflows/test.yml:32

  • [nitpick] The setup-sccache step is duplicated across multiple workflows; you could DRY this by using workflow templates, composite actions, or YAML anchors to reduce repetition.
            - name: Setup sccache

@Sajjon Sajjon merged commit 44eb81b into main Jul 7, 2025
5 checks passed
@Sajjon Sajjon deleted the brew branch July 7, 2025 10:57
@Sajjon Sajjon mentioned this pull request Jul 7, 2025
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