@@ -46,23 +46,24 @@ jobs:
46
46
# reproducible: to get the same tools versions (autoconf, aclocal, ...)
47
47
runs-on : ubuntu-24.04
48
48
container :
49
- image : ghcr.io/python/autoconf:2024.10.16.11360930377
49
+ image : ghcr.io/python/autoconf:2025.01.02.12581854023
50
50
timeout-minutes : 60
51
51
needs : check_source
52
52
if : needs.check_source.outputs.run_tests == 'true'
53
53
steps :
54
54
- name : Install Git
55
55
run : |
56
- apt install git -yq
56
+ apt update && apt install git -yq
57
57
git config --global --add safe.directory "$GITHUB_WORKSPACE"
58
58
- uses : actions/checkout@v4
59
59
with :
60
60
fetch-depth : 1
61
+ persist-credentials : false
61
62
- name : Runner image version
62
63
run : echo "IMAGE_VERSION=${ImageVersion}" >> "$GITHUB_ENV"
63
64
- name : Check Autoconf and aclocal versions
64
65
run : |
65
- grep "Generated by GNU Autoconf 2.71 " configure
66
+ grep "Generated by GNU Autoconf 2.72 " configure
66
67
grep "aclocal 1.16.5" aclocal.m4
67
68
grep -q "runstatedir" configure
68
69
grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4
94
95
if : needs.check_source.outputs.run_tests == 'true'
95
96
steps :
96
97
- uses : actions/checkout@v4
98
+ with :
99
+ persist-credentials : false
97
100
- uses : actions/setup-python@v5
98
101
with :
99
102
python-version : ' 3.x'
@@ -120,7 +123,7 @@ jobs:
120
123
- name : Build CPython
121
124
run : |
122
125
make -j4 regen-all
123
- make regen-stdlib-module-names regen-sbom
126
+ make regen-stdlib-module-names regen-sbom regen-unicodedata
124
127
- name : Check for changes
125
128
run : |
126
129
git add -u
@@ -150,16 +153,28 @@ jobs:
150
153
needs : check_source
151
154
if : fromJSON(needs.check_source.outputs.run_tests)
152
155
strategy :
156
+ fail-fast : false
153
157
matrix :
158
+ os :
159
+ - windows-latest
154
160
arch :
155
- - Win32
156
- - x64
157
- - arm64
161
+ - x64
158
162
free-threading :
159
- - false
160
- - true
163
+ - false
164
+ - true
165
+ include :
166
+ - os : windows-latest # FIXME(diegorusso): change to os: windows-aarch64
167
+ arch : arm64
168
+ free-threading : false
169
+ - os : windows-latest # FIXME(diegorusso): change to os: windows-aarch64
170
+ arch : arm64
171
+ free-threading : true
172
+ - os : windows-latest
173
+ arch : Win32
174
+ free-threading : false
161
175
uses : ./.github/workflows/reusable-windows.yml
162
176
with :
177
+ os : ${{ matrix.os }}
163
178
arch : ${{ matrix.arch }}
164
179
free-threading : ${{ matrix.free-threading }}
165
180
@@ -216,17 +231,33 @@ jobs:
216
231
name : >-
217
232
Ubuntu
218
233
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
234
+ ${{ fromJSON(matrix.bolt) && '(bolt)' || '' }}
219
235
needs : check_source
220
236
if : needs.check_source.outputs.run_tests == 'true'
221
237
strategy :
222
238
matrix :
239
+ bolt :
240
+ - false
241
+ - true
223
242
free-threading :
224
243
- false
225
244
- true
245
+ os :
246
+ - ubuntu-24.04
247
+ - ubuntu-24.04-arm
248
+ exclude :
249
+ # Do not test BOLT with free-threading, to conserve resources
250
+ - bolt : true
251
+ free-threading : true
252
+ # BOLT currently crashes during instrumentation on aarch64
253
+ - os : ubuntu-24.04-arm
254
+ bolt : true
226
255
uses : ./.github/workflows/reusable-ubuntu.yml
227
256
with :
228
257
config_hash : ${{ needs.check_source.outputs.config_hash }}
258
+ bolt-optimizations : ${{ matrix.bolt }}
229
259
free-threading : ${{ matrix.free-threading }}
260
+ os : ${{ matrix.os }}
230
261
231
262
build_ubuntu_ssltests :
232
263
name : ' Ubuntu SSL tests with OpenSSL'
@@ -238,14 +269,17 @@ jobs:
238
269
fail-fast : false
239
270
matrix :
240
271
os : [ubuntu-24.04]
241
- openssl_ver : [3.0.15, 3.1.7, 3.2.3, 3.3.2]
272
+ openssl_ver : [3.0.15, 3.1.7, 3.2.3, 3.3.2, 3.4.0]
273
+ # See Tools/ssl/make_ssl_data.py for notes on adding a new version
242
274
env :
243
275
OPENSSL_VER : ${{ matrix.openssl_ver }}
244
276
MULTISSL_DIR : ${{ github.workspace }}/multissl
245
277
OPENSSL_DIR : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
246
278
LD_LIBRARY_PATH : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
247
279
steps :
248
280
- uses : actions/checkout@v4
281
+ with :
282
+ persist-credentials : false
249
283
- name : Runner image version
250
284
run : echo "IMAGE_VERSION=${ImageVersion}" >> "$GITHUB_ENV"
251
285
- name : Restore config.cache
@@ -306,6 +340,8 @@ jobs:
306
340
PYTHONSTRICTEXTENSIONBUILD : 1
307
341
steps :
308
342
- uses : actions/checkout@v4
343
+ with :
344
+ persist-credentials : false
309
345
- name : Register gcc problem matcher
310
346
run : echo "::add-matcher::.github/problem-matchers/gcc.json"
311
347
- name : Install Dependencies
@@ -389,7 +425,7 @@ jobs:
389
425
#
390
426
# (GH-104097) test_sysconfig is skipped because it has tests that are
391
427
# failing when executed from inside a virtual environment.
392
- ${{ env. VENV_PYTHON }} -m test \
428
+ "${ VENV_PYTHON}" -m test \
393
429
-W \
394
430
-o \
395
431
-j4 \
@@ -424,6 +460,8 @@ jobs:
424
460
ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
425
461
steps :
426
462
- uses : actions/checkout@v4
463
+ with :
464
+ persist-credentials : false
427
465
- name : Runner image version
428
466
run : echo "IMAGE_VERSION=${ImageVersion}" >> "$GITHUB_ENV"
429
467
- name : Restore config.cache
0 commit comments