@@ -109,20 +109,10 @@ jobs:
109109 python-version : ' 3.x'
110110 - name : Runner image version
111111 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
112- - name : Restore config.cache
113- uses : actions/cache@v4
114- with :
115- path : config.cache
116- # Include env.pythonLocation in key to avoid changes in environment when setup-python updates Python
117- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}-${{ env.pythonLocation }}
118112 - name : Install dependencies
119113 run : sudo ./.github/workflows/posix-deps-apt.sh
120114 - name : Add ccache to PATH
121115 run : echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
122- - name : Configure ccache action
123- uses :
hendrikmuhs/[email protected] 124- with :
125- save : false
126116 - name : Configure CPython
127117 run : |
128118 # Build Python with the libpython dynamic library
@@ -215,7 +205,6 @@ jobs:
215205 free-threading : true
216206 uses : ./.github/workflows/reusable-macos.yml
217207 with :
218- config_hash : ${{ needs.build-context.outputs.config-hash }}
219208 free-threading : ${{ matrix.free-threading }}
220209 os : ${{ matrix.os }}
221210
@@ -247,7 +236,6 @@ jobs:
247236 bolt : true
248237 uses : ./.github/workflows/reusable-ubuntu.yml
249238 with :
250- config_hash : ${{ needs.build-context.outputs.config-hash }}
251239 bolt-optimizations : ${{ matrix.bolt }}
252240 free-threading : ${{ matrix.free-threading }}
253241 os : ${{ matrix.os }}
@@ -278,11 +266,6 @@ jobs:
278266 persist-credentials : false
279267 - name : Runner image version
280268 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
281- - name : Restore config.cache
282- uses : actions/cache@v4
283- with :
284- path : config.cache
285- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
286269 - name : Register gcc problem matcher
287270 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
288271 - name : Install dependencies
@@ -304,10 +287,6 @@ jobs:
304287 - name : Add ccache to PATH
305288 run : |
306289 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
307- - name : Configure ccache action
308- uses :
hendrikmuhs/[email protected] 309- with :
310- save : false
311290 - name : Configure CPython
312291 run : ./configure CFLAGS="-fdiagnostics-format=json" --config-cache --enable-slower-safety --with-pydebug --with-openssl="$OPENSSL_DIR"
313292 - name : Build CPython
@@ -339,11 +318,6 @@ jobs:
339318 persist-credentials : false
340319 - name : Runner image version
341320 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
342- - name : Restore config.cache
343- uses : actions/cache@v4
344- with :
345- path : config.cache
346- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
347321 - name : Register gcc problem matcher
348322 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
349323 - name : Install dependencies
@@ -370,10 +344,6 @@ jobs:
370344 - name : Add ccache to PATH
371345 run : |
372346 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
373- - name : Configure ccache action
374- uses :
hendrikmuhs/[email protected] 375- with :
376- save : false
377347 - name : Configure CPython
378348 run : |
379349 ./configure CFLAGS="-fdiagnostics-format=json" \
@@ -442,8 +412,6 @@ jobs:
442412 needs : build-context
443413 if : needs.build-context.outputs.run-tests == 'true'
444414 uses : ./.github/workflows/reusable-wasi.yml
445- with :
446- config_hash : ${{ needs.build-context.outputs.config-hash }}
447415
448416 test-hypothesis :
449417 name : " Hypothesis tests on Ubuntu"
@@ -479,10 +447,6 @@ jobs:
479447 - name : Add ccache to PATH
480448 run : |
481449 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
482- - name : Configure ccache action
483- uses :
hendrikmuhs/[email protected] 484- with :
485- save : false
486450 - name : Setup directory envs for out-of-tree builds
487451 run : |
488452 echo "CPYTHON_RO_SRCDIR=$(realpath -m "${GITHUB_WORKSPACE}"/../cpython-ro-srcdir)" >> "$GITHUB_ENV"
@@ -493,11 +457,6 @@ jobs:
493457 run : sudo mount --bind -o ro "$GITHUB_WORKSPACE" "$CPYTHON_RO_SRCDIR"
494458 - name : Runner image version
495459 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
496- - name : Restore config.cache
497- uses : actions/cache@v4
498- with :
499- path : ${{ env.CPYTHON_BUILDDIR }}/config.cache
500- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
501460 - name : Configure CPython out-of-tree
502461 working-directory : ${{ env.CPYTHON_BUILDDIR }}
503462 run : |
@@ -581,11 +540,6 @@ jobs:
581540 persist-credentials : false
582541 - name : Runner image version
583542 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
584- - name : Restore config.cache
585- uses : actions/cache@v4
586- with :
587- path : config.cache
588- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
589543 - name : Register gcc problem matcher
590544 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
591545 - name : Install dependencies
@@ -611,11 +565,6 @@ jobs:
611565 - name : Add ccache to PATH
612566 run : |
613567 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
614- - name : Configure ccache action
615- uses :
hendrikmuhs/[email protected] 616- with :
617- save : ${{ github.event_name == 'push' }}
618- max-size : " 200M"
619568 - name : Configure CPython
620569 run : ./configure --config-cache --with-address-sanitizer --without-pymalloc
621570 - name : Build CPython
@@ -647,7 +596,6 @@ jobs:
647596 uses : ./.github/workflows/reusable-san.yml
648597 with :
649598 sanitizer : ${{ matrix.sanitizer }}
650- config_hash : ${{ needs.build-context.outputs.config-hash }}
651599 free-threading : ${{ matrix.free-threading }}
652600
653601 cross-build-linux :
@@ -662,11 +610,6 @@ jobs:
662610 persist-credentials : false
663611 - name : Runner image version
664612 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
665- - name : Restore config.cache
666- uses : actions/cache@v4
667- with :
668- path : config.cache
669- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
670613 - name : Register gcc problem matcher
671614 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
672615 - name : Set build dir
0 commit comments