File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -147,11 +147,23 @@ jobs:
147
147
needs : check_source
148
148
if : needs.check_source.outputs.run_tests == 'true'
149
149
env :
150
+ HOMEBREW_NO_ANALYTICS : 1
151
+ HOMEBREW_NO_AUTO_UPDATE : 1
152
+ HOMEBREW_NO_INSTALL_CLEANUP : 1
150
153
PYTHONSTRICTEXTENSIONBUILD : 1
151
154
steps :
152
155
- uses : actions/checkout@v3
153
156
- name : Configure CPython
154
- run : ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-dev --with-tcltk-includes=-I$(brew --prefix tcl-tk)/include --with-tcltk-libs="-L$(brew --prefix tcl-tk)/lib -ltcl8.6 -ltk8.6"
157
+ run : |
158
+ brew install pkg-config [email protected] xz gdbm tcl-tk
159
+ CC=clang \
160
+ CPPFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
161
+ LDFLAGS="-L$(brew --prefix gdbm)/lib -L$(brew --prefix xz)/lib" \
162
+ ./configure --prefix=/opt/python-dev \
163
+ --with-pydebug \
164
+ --with-openssl="$(brew --prefix [email protected] )" \
165
+ --with-tcltk-libs="$(pkg-config --libs tk)" \
166
+ --with-tcltk-includes="$(pkg-config --cflags tk)"
155
167
- name : Build CPython
156
168
run : make -j4
157
169
- name : Display build info
You can’t perform that action at this time.
0 commit comments