Skip to content

Commit

Permalink
work around homebrew python linking issues (#1267)
Browse files Browse the repository at this point in the history
* debug python brew issues

* dbg2

* dbg3

* dbg4

* insulate workflow from homebrew location.
  • Loading branch information
tsteven4 authored Apr 16, 2024
1 parent 62db7c8 commit 9cc7b93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ jobs:
# https://github.com/actions/runner-images/issues/6507
# https://github.com/actions/runner-images/issues/2322
# brew update # skip update for now to avoid link issues AND many slow dependency upGRADES.
brew list -1 | grep python
ls -l $(brew --prefix)/bin | grep -i python
# workaround for https://github.com/actions/setup-python/issues/577
brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done
brew list -1 | grep python
ls -l $(brew --prefix)/bin | grep -i python
brew install ninja
brew install docbook docbook-xsl fop gnu-sed
# brew install is taking forever on macos-11, skip jing-trang and all it's dependencies.
Expand Down

0 comments on commit 9cc7b93

Please sign in to comment.