Skip to content

brew determine-test-runners may exclude runners for supported architectures #19838

@botantony

Description

@botantony

brew doctor output

irrelevant

Verification

  • My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update twice and am still able to reproduce my issue.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

irrelevant

What were you trying to do (and why)?

I was trying to update ibex formula (Homebrew/homebrew-core#221747). It used to have bottles for all supported configurations. After ARM Linux Homebrew support was added, cho-m added on_linux block with depends_on arch: :x86_64 dependency (Homebrew/homebrew-core@146de34)

CI jobs started runners only for x86 runners, even though this limit exists only for Linux.

What happened (include all command output)?

CI / setup_tests (pull_request) job had started only x86 runners (missing macOS <version>-arm64 runners)

What did you expect to happen?

I expected CI job to start all runners except ARM Linux

Step-by-step reproduction instructions (by running brew commands)

# update any formula with `on_macos` or `on_linux` block that has `depends_on arch:`
# if you can run `determine-test-runners` command on your machine try to
# modify any formula

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe want help addressing this

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions