Skip to content

Add macOS binary build to release workflow#1890

Merged
adamtheturtle merged 2 commits into
mainfrom
feature/macos-binaries
Jan 25, 2026
Merged

Add macOS binary build to release workflow#1890
adamtheturtle merged 2 commits into
mainfrom
feature/macos-binaries

Conversation

@adamtheturtle
Copy link
Copy Markdown
Member

@adamtheturtle adamtheturtle commented Jan 25, 2026

This PR adds support for building and distributing macOS (ARM) binaries in the release workflow.

Changes

  • release.yml:

    • Added a new build-macos job that runs on macos-latest (Apple Silicon), waits for PyPI propagation, builds both vws-macos and vuforia-cloud-reco-macos binaries using PyInstaller, and uploads the binaries to the GitHub release
    • Added actions/setup-python@v5 to the Windows build job to ensure pip is available for the PyPI propagation check
  • README.rst: Added a new "Pre-built macOS (ARM) binaries" section that points to the full documentation

  • docs/source/install.rst: Added detailed installation instructions for macOS binaries including:

    • curl commands to download and install the binaries
    • Instructions for removing the quarantine attribute (xattr -d com.apple.quarantine)

This follows the same pattern as the existing Windows and Linux binary builds.


Note

Introduces macOS binary distribution and stabilizes Windows release steps.

  • New build-macos job on macos-latest builds vws-macos and vuforia-cloud-reco-macos via PyInstaller and uploads them to the GitHub release after waiting for PyPI propagation
  • Windows job adds actions/setup-python@v5 to ensure pip is available for the PyPI version check
  • Uses normalized version lookup with pip index versions for propagation verification before building binaries

Written by Cursor Bugbot for commit 771d92e. This will update automatically on new commits. Configure here.

@adamtheturtle adamtheturtle merged commit 0bce8cc into main Jan 25, 2026
8 checks passed
@adamtheturtle adamtheturtle deleted the feature/macos-binaries branch January 25, 2026 12:02
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

uses: actions/setup-python@v5
with:
python-version: '3.13'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

macOS job missing Python setup for pip command

High Severity

The new build-macos job uses pip index versions in the PyPI propagation check (line 339) but is missing the Set up Python step that the build-windows job has. The PR description explicitly mentions that Python setup was added to Windows "to ensure pip is available for the PyPI propagation check" - the same setup is needed for macOS. Without it, the macOS build will fail when pip isn't properly available in PATH.

Fix in Cursor Fix in Web

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