Skip to content

Remove Intel macOS support from installer - #1140

Draft
MikeMcQuaid wants to merge 1 commit into
mainfrom
remove-intel-macos-support
Draft

Remove Intel macOS support from installer#1140
MikeMcQuaid wants to merge 1 commit into
mainfrom
remove-intel-macos-support

Conversation

@MikeMcQuaid

Copy link
Copy Markdown
Member
  • Homebrew on macOS is now Apple Silicon only, so abort on any other architecture before prompting for sudo and always install to /opt/homebrew, dropping the /usr/local prefix and its paths.d special case.
  • Apple Silicon Macs require macOS 11 or newer, so the checks for macOS 10.7, 10.11 and 10.13 and the version_gt helper were unreachable.
  • Point CI at /opt/homebrew/bin: the arm64 runners never used /usr/local.

- Homebrew on macOS is now Apple Silicon only, so abort on any other
  architecture before prompting for `sudo` and always install to
  `/opt/homebrew`, dropping the `/usr/local` prefix and its `paths.d`
  special case.
- Apple Silicon Macs require macOS 11 or newer, so the checks for
  macOS 10.7, 10.11 and 10.13 and the `version_gt` helper were
  unreachable.
- Point CI at `/opt/homebrew/bin`: the arm64 runners never used
  `/usr/local`.
Copilot AI balanced review requested due to automatic review settings September 4, 2026 16:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

馃煛 Changes recommended

The GITHUB_PATH entry must contain only /opt/homebrew/bin, not a colon-separated path list.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Restricts macOS installation to Apple Silicon and removes obsolete Intel and legacy macOS logic.

Changes:

  • Reject unsupported macOS architectures before requesting sudo.
  • Standardize installation under /opt/homebrew.
  • Update CI for the Apple Silicon Homebrew path.
File summaries
File Description
install.sh Removes Intel macOS support and unreachable legacy checks.
.github/workflows/tests.yml Updates CI paths, but incorrectly writes a colon-separated path list to GITHUB_PATH.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/tests.yml
@MikeMcQuaid
MikeMcQuaid marked this pull request as draft September 4, 2026 16:13
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.

3 participants