-
Notifications
You must be signed in to change notification settings - Fork 3
More improvements #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,42 @@ | ||||||||||
| name: brew test-bot | ||||||||||
|
|
||||||||||
| on: | ||||||||||
| push: | ||||||||||
| branches: | ||||||||||
| - master | ||||||||||
| pull_request: | ||||||||||
|
|
||||||||||
| jobs: | ||||||||||
| test: | ||||||||||
| strategy: | ||||||||||
| matrix: | ||||||||||
| os: [macos-13, macos-15] | ||||||||||
| runs-on: ${{ matrix.os }} | ||||||||||
| steps: | ||||||||||
| - name: Set up Homebrew | ||||||||||
| id: set-up-homebrew | ||||||||||
| uses: Homebrew/actions/setup-homebrew@master | ||||||||||
|
|
||||||||||
|
||||||||||
| - name: Check out repository | |
| uses: actions/checkout@v4 |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,16 +1,14 @@ | ||||||||
| # typed: strict | ||||||||
| # frozen_string_literal: true | ||||||||
|
|
||||||||
| # Open Dylan formula | ||||||||
| class Opendylan < Formula | ||||||||
| desc "Open Dylan implementation of the Dylan programming language" | ||||||||
| desc "Implementation of the Dylan programming language (Open Dylan)" | ||||||||
| homepage "https://opendylan.org/" | ||||||||
| url "https://github.com/dylan-lang/opendylan/releases/download/v2026.1.0/opendylan-2026.1-x86_64-darwin.tar.bz2" | ||||||||
| sha256 "305bcba52914713508fa1a97b5b6d7e042fba1b0d1415eab90c35417b2da15cd" | ||||||||
|
|
||||||||
|
||||||||
| depends_on arch: :intel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot code review[agent] Don't other formulas do this and warn the user Rosetta is needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI workflow tests on both macos-13 (Intel) and macos-15 (Apple Silicon), but the formula only provides an x86_64-darwin binary without the architecture constraint that was previously in place. This will likely cause test failures on macos-15 since ARM Macs cannot run the Intel-only binary without Rosetta configuration. Consider either adding the arch constraint back to the formula, providing ARM binaries, or adjusting the CI matrix to only test on Intel runners for now.