@@ -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
@@ -268,7 +258,6 @@ jobs:
268258 free-threading : true
269259 uses : ./.github/workflows/reusable-macos.yml
270260 with :
271- config_hash : ${{ needs.build-context.outputs.config-hash }}
272261 free-threading : ${{ matrix.free-threading }}
273262 os : ${{ matrix.os }}
274263
@@ -286,7 +275,6 @@ jobs:
286275 - true
287276 uses : ./.github/workflows/reusable-ubuntu.yml
288277 with :
289- config_hash : ${{ needs.build-context.outputs.config-hash }}
290278 free-threading : ${{ matrix.free-threading }}
291279
292280 build-ubuntu-ssltests :
@@ -314,11 +302,6 @@ jobs:
314302 persist-credentials : false
315303 - name : Runner image version
316304 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
317- - name : Restore config.cache
318- uses : actions/cache@v4
319- with :
320- path : config.cache
321- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
322305 - name : Register gcc problem matcher
323306 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
324307 - name : Install dependencies
@@ -340,10 +323,6 @@ jobs:
340323 - name : Add ccache to PATH
341324 run : |
342325 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
343- - name : Configure ccache action
344- uses : hendrikmuhs/ccache-action@v1.2
345- with :
346- save : false
347326 - name : Configure CPython
348327 run : ./configure --config-cache --with-pydebug --with-openssl=$OPENSSL_DIR
349328 - name : Build CPython
@@ -380,8 +359,6 @@ jobs:
380359 needs : build-context
381360 if : needs.build-context.outputs.run-tests == 'true'
382361 uses : ./.github/workflows/reusable-wasi.yml
383- with :
384- config_hash : ${{ needs.build-context.outputs.config-hash }}
385362
386363 test-hypothesis :
387364 name : " Hypothesis tests on Ubuntu"
@@ -417,10 +394,6 @@ jobs:
417394 - name : Add ccache to PATH
418395 run : |
419396 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
420- - name : Configure ccache action
421- uses : hendrikmuhs/ccache-action@v1.2
422- with :
423- save : false
424397 - name : Setup directory envs for out-of-tree builds
425398 run : |
426399 echo "CPYTHON_RO_SRCDIR=$(realpath -m "${GITHUB_WORKSPACE}"/../cpython-ro-srcdir)" >> "$GITHUB_ENV"
@@ -431,11 +404,6 @@ jobs:
431404 run : sudo mount --bind -o ro "$GITHUB_WORKSPACE" "$CPYTHON_RO_SRCDIR"
432405 - name : Runner image version
433406 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
434- - name : Restore config.cache
435- uses : actions/cache@v4
436- with :
437- path : ${{ env.CPYTHON_BUILDDIR }}/config.cache
438- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
439407 - name : Configure CPython out-of-tree
440408 working-directory : ${{ env.CPYTHON_BUILDDIR }}
441409 run : |
@@ -518,11 +486,6 @@ jobs:
518486 persist-credentials : false
519487 - name : Runner image version
520488 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
521- - name : Restore config.cache
522- uses : actions/cache@v4
523- with :
524- path : config.cache
525- key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
526489 - name : Register gcc problem matcher
527490 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
528491 - name : Install dependencies
@@ -548,11 +511,6 @@ jobs:
548511 - name : Add ccache to PATH
549512 run : |
550513 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
551- - name : Configure ccache action
552- uses : hendrikmuhs/ccache-action@v1.2
553- with :
554- save : ${{ github.event_name == 'push' }}
555- max-size : " 200M"
556514 - name : Configure CPython
557515 run : ./configure --config-cache --with-address-sanitizer --without-pymalloc
558516 - name : Build CPython
@@ -580,7 +538,6 @@ jobs:
580538 uses : ./.github/workflows/reusable-san.yml
581539 with :
582540 sanitizer : ${{ matrix.sanitizer }}
583- config_hash : ${{ needs.build-context.outputs.config-hash }}
584541 free-threading : ${{ matrix.free-threading }}
585542
586543 # CIFuzz job based on https://google.github.io/oss-fuzz/getting-started/continuous-integration/
0 commit comments