Skip to content

Commit

Permalink
Merge pull request #1776 from danrbailey/macos_brew_issue
Browse files Browse the repository at this point in the history
Workaround for python3 brew mac CI issue on GitHub runners
  • Loading branch information
danrbailey authored Mar 18, 2024
2 parents 78614d0 + c910412 commit c4b5143
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/houdini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ jobs:
cd $HOME/houdini_install && tar -xzf hou.tar.gz && cd -
- name: install_deps
run: |
# Remove Python3 symlinks in /usr/local/bin as workaround to brew update issues
# https://github.com/actions/setup-python/issues/577
rm /usr/local/bin/2to3* || :
rm /usr/local/bin/idle3* || :
rm /usr/local/bin/pydoc* || :
rm /usr/local/bin/python3* || :
brew update
brew install bash gnu-getopt cmake boost glfw googletest openexr pybind11 llvm@15 cppunit
echo "/usr/local/opt/gnu-getopt/bin" >> $GITHUB_PATH
Expand Down
7 changes: 7 additions & 0 deletions ci/install_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

set -x

# Remove Python3 symlinks in /usr/local/bin as workaround to brew update issues
# https://github.com/actions/setup-python/issues/577
rm /usr/local/bin/2to3* || :
rm /usr/local/bin/idle3* || :
rm /usr/local/bin/pydoc* || :
rm /usr/local/bin/python3* || :

brew update
brew install bash gnu-getopt # for CI scripts
brew install boost
Expand Down

0 comments on commit c4b5143

Please sign in to comment.