@@ -154,20 +154,10 @@ jobs:
154154 python-version : ' 3.x'
155155 - name : Runner image version
156156 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
157- - name : Restore config.cache
158- uses : actions/cache@v4
159- with :
160- path : config.cache
161- # Include env.pythonLocation in key to avoid changes in environment when setup-python updates Python
162- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}-${{ env.pythonLocation }}
163157 - name : Install dependencies
164158 run : sudo ./.github/workflows/posix-deps-apt.sh
165159 - name : Add ccache to PATH
166160 run : echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
167- - name : Configure ccache action
168- uses : hendrikmuhs/ccache-action@v1.2
169- with :
170- save : false
171161 - name : Configure CPython
172162 run : |
173163 # Build Python with the libpython dynamic library
@@ -255,28 +245,19 @@ jobs:
255245 strategy :
256246 fail-fast : false
257247 matrix :
258- # Cirrus and macos-14 are M1, macos-13 is default GHA Intel.
259- # macOS 13 only runs tests against the GIL-enabled CPython.
260- # Cirrus used for upstream, macos-14 for forks.
248+ # macos-14 is M1, macos-15-intel is Intel.
249+ # macos-15-intel only runs tests against the GIL-enabled CPython.
261250 os :
262- - ghcr.io/cirruslabs/macos-runner:sonoma
263251 - macos-14
264- - macos-13
265- is-fork : # only used for the exclusion trick
266- - ${{ github.repository_owner != 'python' }}
252+ - macos-15-intel
267253 free-threading :
268254 - false
269255 - true
270256 exclude :
271- - os : ghcr.io/cirruslabs/macos-runner:sonoma
272- is-fork : true
273- - os : macos-14
274- is-fork : false
275- - os : macos-13
257+ - os : macos-15-intel
276258 free-threading : true
277259 uses : ./.github/workflows/reusable-macos.yml
278260 with :
279- config_hash : ${{ needs.build-context.outputs.config-hash }}
280261 free-threading : ${{ matrix.free-threading }}
281262 os : ${{ matrix.os }}
282263
@@ -294,7 +275,6 @@ jobs:
294275 - true
295276 uses : ./.github/workflows/reusable-ubuntu.yml
296277 with :
297- config_hash : ${{ needs.build-context.outputs.config-hash }}
298278 free-threading : ${{ matrix.free-threading }}
299279
300280 build-ubuntu-ssltests :
@@ -310,7 +290,7 @@ jobs:
310290 # Keep 1.1.1w in our list despite it being upstream EOL and otherwise
311291 # unsupported as it most resembles other 1.1.1-work-a-like ssl APIs
312292 # supported by important vendors such as AWS-LC.
313- openssl_ver : [1.1.1w, 3.0.15 , 3.1.7, 3.2.3 , 3.3.2 ]
293+ openssl_ver : [1.1.1w, 3.0.18 , 3.1.7, 3.2.6 , 3.3.5 ]
314294 env :
315295 OPENSSL_VER : ${{ matrix.openssl_ver }}
316296 MULTISSL_DIR : ${{ github.workspace }}/multissl
@@ -322,11 +302,6 @@ jobs:
322302 persist-credentials : false
323303 - name : Runner image version
324304 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
325- - name : Restore config.cache
326- uses : actions/cache@v4
327- with :
328- path : config.cache
329- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
330305 - name : Register gcc problem matcher
331306 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
332307 - name : Install dependencies
@@ -348,10 +323,6 @@ jobs:
348323 - name : Add ccache to PATH
349324 run : |
350325 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
351- - name : Configure ccache action
352- uses : hendrikmuhs/ccache-action@v1.2
353- with :
354- save : false
355326 - name : Configure CPython
356327 run : ./configure --config-cache --with-pydebug --with-openssl=$OPENSSL_DIR
357328 - name : Build CPython
@@ -370,9 +341,8 @@ jobs:
370341 fail-fast : false
371342 matrix :
372343 include :
373- # Use the same runs-on configuration as build-macos and build-ubuntu.
374344 - arch : aarch64
375- runs-on : ${{ github.repository_owner == 'python' && 'ghcr.io/cirruslabs/ macos-runner:sonoma' || 'macos-14' }}
345+ runs-on : macos-14
376346 - arch : x86_64
377347 runs-on : ubuntu-24.04
378348
@@ -382,15 +352,13 @@ jobs:
382352 with :
383353 persist-credentials : false
384354 - name : Build and test
385- run : ./Android/android.py ci ${{ matrix.arch }}-linux-android
355+ run : ./Android/android.py ci --fast-ci ${{ matrix.arch }}-linux-android
386356
387357 build-wasi :
388358 name : ' WASI'
389359 needs : build-context
390360 if : needs.build-context.outputs.run-tests == 'true'
391361 uses : ./.github/workflows/reusable-wasi.yml
392- with :
393- config_hash : ${{ needs.build-context.outputs.config-hash }}
394362
395363 test-hypothesis :
396364 name : " Hypothesis tests on Ubuntu"
@@ -399,7 +367,7 @@ jobs:
399367 needs : build-context
400368 if : needs.build-context.outputs.run-tests == 'true'
401369 env :
402- OPENSSL_VER : 3.0.15
370+ OPENSSL_VER : 3.0.18
403371 PYTHONSTRICTEXTENSIONBUILD : 1
404372 steps :
405373 - uses : actions/checkout@v4
@@ -426,10 +394,6 @@ jobs:
426394 - name : Add ccache to PATH
427395 run : |
428396 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
429- - name : Configure ccache action
430- uses : hendrikmuhs/ccache-action@v1.2
431- with :
432- save : false
433397 - name : Setup directory envs for out-of-tree builds
434398 run : |
435399 echo "CPYTHON_RO_SRCDIR=$(realpath -m "${GITHUB_WORKSPACE}"/../cpython-ro-srcdir)" >> "$GITHUB_ENV"
@@ -440,11 +404,6 @@ jobs:
440404 run : sudo mount --bind -o ro "$GITHUB_WORKSPACE" "$CPYTHON_RO_SRCDIR"
441405 - name : Runner image version
442406 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
443- - name : Restore config.cache
444- uses : actions/cache@v4
445- with :
446- path : ${{ env.CPYTHON_BUILDDIR }}/config.cache
447- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
448407 - name : Configure CPython out-of-tree
449408 working-directory : ${{ env.CPYTHON_BUILDDIR }}
450409 run : |
@@ -518,7 +477,7 @@ jobs:
518477 matrix :
519478 os : [ubuntu-24.04]
520479 env :
521- OPENSSL_VER : 3.0.15
480+ OPENSSL_VER : 3.0.18
522481 PYTHONSTRICTEXTENSIONBUILD : 1
523482 ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
524483 steps :
@@ -527,11 +486,6 @@ jobs:
527486 persist-credentials : false
528487 - name : Runner image version
529488 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
530- - name : Restore config.cache
531- uses : actions/cache@v4
532- with :
533- path : config.cache
534- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
535489 - name : Register gcc problem matcher
536490 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
537491 - name : Install dependencies
@@ -557,11 +511,6 @@ jobs:
557511 - name : Add ccache to PATH
558512 run : |
559513 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
560- - name : Configure ccache action
561- uses : hendrikmuhs/ccache-action@v1.2
562- with :
563- save : ${{ github.event_name == 'push' }}
564- max-size : " 200M"
565514 - name : Configure CPython
566515 run : ./configure --config-cache --with-address-sanitizer --without-pymalloc
567516 - name : Build CPython
@@ -589,7 +538,6 @@ jobs:
589538 uses : ./.github/workflows/reusable-san.yml
590539 with :
591540 sanitizer : ${{ matrix.sanitizer }}
592- config_hash : ${{ needs.build-context.outputs.config-hash }}
593541 free-threading : ${{ matrix.free-threading }}
594542
595543 # CIFuzz job based on https://google.github.io/oss-fuzz/getting-started/continuous-integration/
0 commit comments