Skip to content

Commit

Permalink
macOS Python is weird...
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner committed Oct 10, 2023
1 parent 3e5fe2f commit 4f11931
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- os: windows-latest
python-version: '3.12'
- os: macos-latest
python-version: '3.11'
python-version: '3.12'

steps:
- uses: actions/checkout@v4
Expand All @@ -31,8 +31,9 @@ jobs:
- name: Set CPPFLAGS/LDFLAGS for OpenSSL on macOS
if: matrix.os == 'macos-latest'
run: |
echo "CPPFLAGS=-I/usr/local/opt/openssl@1.1/include" >> $GITHUB_ENV
echo "LDFLAGS=-L/usr/local/opt/openssl@1.1/lib" >> $GITHUB_ENV
brew install openssl@3
echo "CPPFLAGS=-I/usr/local/opt/openssl@3/include" >> $GITHUB_ENV
echo "LDFLAGS=-L/Library/Frameworks/Python.framework/Versions/3.12/lib" >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand Down

0 comments on commit 4f11931

Please sign in to comment.