Skip to content

Commit

Permalink
build: Configure Homebrew and Install Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cauliyang committed Oct 31, 2023
1 parent cc8c0b9 commit 5f7f10b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,20 @@ jobs:
virtualenvs-create: false
virtualenvs-in-project: false

- name: Configure Homebrew
uses: Homebrew/actions/setup-homebrew@master

- name: Install Dependencies
env:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Do not run brew cleanup automatically.
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 # Do not automatically update packages.
run: |
brew install openssl@3
ln -sf $(brew --prefix openssl)/include/openssl /usr/local/include/openssl
ln -sf $(brew --prefix openssl)/lib/*a /usr/local/lib/
ln -sf $(brew --prefix openssl)/lib/*dylib /usr/local/lib/
- name: Build wheels
uses: pypa/[email protected]
env:
Expand Down

0 comments on commit 5f7f10b

Please sign in to comment.