Skip to content

Mac build#863

Merged
ZanCorDX merged 6 commits intodevelopfrom
mac-test
Jan 21, 2026
Merged

Mac build#863
ZanCorDX merged 6 commits intodevelopfrom
mac-test

Conversation

@ZanCorDX
Copy link
Collaborator

@ZanCorDX ZanCorDX commented Jan 20, 2026

📝 Summary

Added a new option to generate Mac builds.
Resolves #858

✅ I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

@metachris metachris requested a review from Copilot January 21, 2026 10:37
Copy link
Contributor

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

This PR adds support for building macOS binaries in the release workflow by introducing a new platform selection option. The workflow now allows users to choose between Linux and Mac builds during manual dispatches, while tag pushes continue to build only Linux binaries by default.

Changes:

  • Added a platform input parameter to the workflow with options for 'linux' and 'mac'
  • Restructured the build matrix to include both Linux and Mac targets with platform-specific configurations
  • Implemented platform filtering logic to skip jobs based on trigger type and selected platform

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- name: Build binaries (Mac)
if: steps.platform-check.outputs.skip != 'true' && matrix.platform == 'mac'
env:
# Workaround for runng-sys CMake compatibility issue
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

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

Corrected spelling of 'runng' to 'rung'.

Copilot uses AI. Check for mistakes.
- name: Build binaries (Mac)
if: steps.platform-check.outputs.skip != 'true' && matrix.platform == 'mac'
env:
# Workaround for runng-sys CMake compatibility issue
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

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

The comment mentions this is a workaround for runng-sys CMake compatibility, but there's no explanation of why version 3.5 is needed or what specific issue this addresses. Adding context about the compatibility problem would help future maintainers understand when this workaround can be removed.

Suggested change
# Workaround for runng-sys CMake compatibility issue
# Workaround for runng-sys CMake compatibility issue:
# - GitHub macOS runners ship a newer CMake that defaults to newer policy behavior.
# - The runng-sys build expects older CMake policies and fails when the newer
# policies are in effect (see CMake policy warnings/errors during cargo build).
# - Setting CMAKE_POLICY_VERSION_MINIMUM to 3.5 forces CMake to use a baseline
# of policies that are compatible with runng-sys on macOS.
# Remove this once runng-sys has been updated to support newer CMake policy versions
# and builds cleanly on the default CMake version of GitHub macOS runners.

Copilot uses AI. Check for mistakes.
@ZanCorDX ZanCorDX merged commit 3b5c449 into develop Jan 21, 2026
9 checks passed
@ZanCorDX ZanCorDX deleted the mac-test branch January 21, 2026 13:30
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.

Create Mac M1 releases

3 participants