Skip to content

Commit 4eabfac

Browse files
committed
use brew to get openssl and rust for cryptography build
1 parent 2440e78 commit 4eabfac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,13 @@ jobs:
165165
echo "INCLUDE=$PYPY_EXTERNALS_PATH/include;$INCLUDE" >> $GITHUB_ENV
166166
echo "LIB=$PYPY_EXTERNALS_PATH/lib;$LIB" >> $GITHUB_ENV
167167
# echo "CL=${{ matrix.PYTHON.CL_FLAGS }}" >> $GITHUB_ENV
168+
- name: Add Brew
169+
if: ${{ matrix.os.matrix == 'darwin' && matrix.python.implementation == 'pypy'}}
170+
shell: bash
171+
run: |
172+
brew install [email protected] rust
173+
echo "LDFLAGS=-L$(brew --prefix [email protected])/lib" >> $GITHUB_ENV
174+
echo "CFLAGS=-I$(brew --prefix [email protected])/include" >> $GITHUB_ENV
168175
- name: rustup
169176
if: ${{ matrix.os.matrix == 'windows' && matrix.python.implementation == 'pypy'}}
170177
shell: bash

0 commit comments

Comments
 (0)