Skip to content

Commit

Permalink
pythongh-101981: Update macOS workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Feb 18, 2023
1 parent 89413bb commit 5d66946
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,12 @@ jobs:
- uses: actions/checkout@v3
- name: Prepare homebrew environment variables
run: |
echo "LDFLAGS=-L$(brew --prefix tcl-tk)/lib" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@1.1)/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
brew install pkg-config openssl@1.1 xz gdbm tcl-tk
echo "CFLAGS=-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" >> $GITHUB_ENV
echo "LDFLAGS=-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
- name: Configure CPython
run: ./configure --with-pydebug --prefix=/opt/python-dev
run: ./configure --with-pydebug --prefix=/opt/python-dev --with-openssl=$(brew --prefix openssl)
- name: Build CPython
run: make -j4
- name: Display build info
Expand Down

0 comments on commit 5d66946

Please sign in to comment.