2525 run_tests : ${{ steps.check.outputs.run_tests }}
2626 run_ssl_tests : ${{ steps.check.outputs.run_ssl_tests }}
2727 steps :
28- - uses : actions/checkout@v3
28+ - uses : actions/checkout@v4
2929 - name : Check for source changes
3030 id : check
3131 run : |
5757 needs : check_source
5858 if : needs.check_source.outputs.run_tests == 'true'
5959 steps :
60- - uses : actions/checkout@v2
61- - uses : actions/setup-python@v2
60+ - uses : actions/checkout@v4
61+ - uses : actions/setup-python@v4
6262 - name : Install Dependencies
6363 run : |
6464 sudo ./.github/workflows/posix-deps-apt.sh
7979 needs : check_source
8080 if : needs.check_source.outputs.run_tests == 'true'
8181 steps :
82- - uses : actions/checkout@v3
83- - uses : actions/setup-python@v3
82+ - uses : actions/checkout@v4
83+ - uses : actions/setup-python@v4
8484 - name : Install Dependencies
8585 run : sudo ./.github/workflows/posix-deps-apt.sh
8686 - name : Add ccache to PATH
9393 grep "aclocal 1.16.3" aclocal.m4
9494 grep -q "runstatedir" configure
9595 grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4
96+ - name : Configure CPython
97+ run : |
98+ # Build Python with the libpython dynamic library
99+ ./configure --config-cache --with-pydebug --enable-shared
96100 - name : Regenerate autoconf files
97- run : docker run --rm -v $(pwd):/src quay.io/tiran/cpython_autoconf:269
101+ run : make regen-configure
98102 - name : Build CPython
99103 run : |
100104 ./configure --with-pydebug
@@ -119,7 +123,7 @@ jobs:
119123 needs : check_source
120124 if : needs.check_source.outputs.run_tests == 'true'
121125 steps :
122- - uses : actions/checkout@v3
126+ - uses : actions/checkout@v4
123127 - name : Build CPython
124128 run : .\PCbuild\build.bat -e -p Win32
125129 - name : Display build info
@@ -133,7 +137,7 @@ jobs:
133137 needs : check_source
134138 if : needs.check_source.outputs.run_tests == 'true'
135139 steps :
136- - uses : actions/checkout@v3
140+ - uses : actions/checkout@v4
137141 - name : Build CPython
138142 run : .\PCbuild\build.bat -e -p x64
139143 - name : Display build info
@@ -152,18 +156,24 @@ jobs:
152156 HOMEBREW_NO_INSTALL_CLEANUP : 1
153157 PYTHONSTRICTEXTENSIONBUILD : 1
154158 steps :
155- - uses : actions/checkout@v3
159+ - uses : actions/checkout@v4
160+ - name : Install Homebrew dependencies
161+ run : |
162+ brew install pkg-config openssl@3.0 xz gdbm tcl-tk@8
163+ # Because alternate versions are not symlinked into place by default:
164+ brew link tcl-tk@8
156165 - name : Configure CPython
157166 run : |
158- brew install pkg-config openssl@1.1 xz gdbm tcl-tk
159167 CC=clang \
160168 CPPFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
161169 LDFLAGS="-L$(brew --prefix gdbm)/lib -L$(brew --prefix xz)/lib" \
162170 ./configure --prefix=/opt/python-dev \
163171 --with-pydebug \
164- --with-openssl="$(brew --prefix openssl@1.1 )" \
172+ --with-openssl="$(brew --prefix openssl@3.0 )" \
165173 --with-tcltk-libs="$(pkg-config --libs tk)" \
166- --with-tcltk-includes="$(pkg-config --cflags tk)"
174+ --with-tcltk-includes="$(pkg-config --cflags tk)" \
175+ --with-dbmliborder=gdbm:ndbm
176+ # (--with-dbmliborder needed for homebrew's gdbm 1.24: see gh-89452)
167177 - name : Build CPython
168178 run : make -j4
169179 - name : Display build info
@@ -177,10 +187,10 @@ jobs:
177187 needs : check_source
178188 if : needs.check_source.outputs.run_tests == 'true'
179189 env :
180- OPENSSL_VER : 1.1.1u
190+ OPENSSL_VER : 3.0.11
181191 PYTHONSTRICTEXTENSIONBUILD : 1
182192 steps :
183- - uses : actions/checkout@v3
193+ - uses : actions/checkout@v4
184194 - name : Install Dependencies
185195 run : sudo ./.github/workflows/posix-deps-apt.sh
186196 - name : Configure OpenSSL env vars
@@ -219,14 +229,14 @@ jobs:
219229 strategy :
220230 fail-fast : false
221231 matrix :
222- openssl_ver : [1.0.2u, 1.1.0l, 1.1.1u , 3.0.9 , 3.1.1 ]
232+ openssl_ver : [1.0.2u, 1.1.0l, 1.1.1w , 3.0.11 , 3.1.3 ]
223233 env :
224234 OPENSSL_VER : ${{ matrix.openssl_ver }}
225235 MULTISSL_DIR : ${{ github.workspace }}/multissl
226236 OPENSSL_DIR : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
227237 LD_LIBRARY_PATH : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
228238 steps :
229- - uses : actions/checkout@v3
239+ - uses : actions/checkout@v4
230240 - name : Install Dependencies
231241 run : sudo ./.github/workflows/posix-deps-apt.sh
232242 - name : Configure OpenSSL env vars
0 commit comments