Skip to content

Commit c170cca

Browse files
committed
pythongh-101981: Update macOS workflow
1 parent 4d8959b commit c170cca

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,12 @@ jobs:
159159
- uses: actions/checkout@v3
160160
- name: Prepare homebrew environment variables
161161
run: |
162-
echo "LDFLAGS=-L$(brew --prefix tcl-tk)/lib" >> $GITHUB_ENV
163-
echo "PKG_CONFIG_PATH=$(brew --prefix [email protected])/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
162+
brew install pkg-config [email protected] xz gdbm tcl-tk
163+
echo "CFLAGS=-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" >> $GITHUB_ENV
164+
echo "LDFLAGS=-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" >> $GITHUB_ENV
165+
echo "PKG_CONFIG_PATH=$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
164166
- name: Configure CPython
165-
run: ./configure --with-pydebug --prefix=/opt/python-dev
167+
run: ./configure --with-pydebug --prefix=/opt/python-dev --with-openssl=$(brew --prefix openssl)
166168
- name: Build CPython
167169
run: make -j4
168170
- name: Display build info

0 commit comments

Comments
 (0)