Skip to content

Commit

Permalink
[CI] fix homebrew on mac with workaround (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao authored Oct 14, 2024
1 parent c43a068 commit afa6447
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,19 @@ jobs:
- name: "SCM Checkout"
uses: actions/checkout@v4

- name: Add msbuild to PATH
- name: "Add msbuild to PATH"
if: matrix.build_system == 'vs2019'
uses: microsoft/setup-msbuild@v2
with:
vs-version: '[16.0,17.0)'

- name: "Mac homebrew workaround"
if: matrix.target == 'darwin'
run: |
# see https://github.com/Homebrew/homebrew-core/issues/165793#issuecomment-1989441193
# see https://github.com/Homebrew/brew/blob/master/.github/workflows/tests.yml
brew unlink python && brew link --overwrite python
- name: "Install: Required Dev Packages"
run: |
set -eux
Expand Down

0 comments on commit afa6447

Please sign in to comment.