Skip to content

Commit 8a92762

Browse files
fix(ci): add Homebrew to PATH for self-hosted macOS runner
- Add /opt/homebrew/bin and /opt/homebrew/sbin to PATH - Required for pkg-config and other Homebrew-installed tools - Self-hosted runner has minimal default PATH Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3eaca1f commit 8a92762

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ jobs:
186186
env:
187187
CARGO_INCREMENTAL: 1 # Enable incremental compilation on self-hosted (reuses artifacts)
188188
CARGO_TERM_COLOR: always
189+
PATH: /opt/homebrew/bin:/opt/homebrew/sbin:${{ env.PATH }}
189190

190191
steps:
191192
- name: Checkout code
@@ -239,6 +240,7 @@ jobs:
239240
env:
240241
CARGO_INCREMENTAL: 1 # Enable incremental compilation on self-hosted (reuses artifacts)
241242
CARGO_TERM_COLOR: always
243+
PATH: /opt/homebrew/bin:/opt/homebrew/sbin:${{ env.PATH }}
242244

243245
steps:
244246
- name: Checkout code

0 commit comments

Comments
 (0)