@@ -131,11 +131,13 @@ jobs:
131131 - uses : actions/setup-python@v5
132132 with :
133133 python-version : ' 3.x'
134+ - name : Runner image version
135+ run : echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
134136 - name : Restore config.cache
135137 uses : actions/cache@v4
136138 with :
137139 path : config.cache
138- key : ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}-${{ env.pythonLocation }}
140+ key : ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}-${{ env.pythonLocation }}
139141 - name : Install Dependencies
140142 run : sudo ./.github/workflows/posix-deps-apt.sh
141143 - name : Add ccache to PATH
@@ -250,19 +252,21 @@ jobs:
250252 strategy :
251253 fail-fast : false
252254 matrix :
253- openssl_ver : [1.1.1w, 3.0.11 , 3.1.3 ]
255+ openssl_ver : [1.1.1w, 3.0.13 , 3.1.5, 3.2.1 ]
254256 env :
255257 OPENSSL_VER : ${{ matrix.openssl_ver }}
256258 MULTISSL_DIR : ${{ github.workspace }}/multissl
257259 OPENSSL_DIR : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
258260 LD_LIBRARY_PATH : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
259261 steps :
260262 - uses : actions/checkout@v4
263+ - name : Runner image version
264+ run : echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
261265 - name : Restore config.cache
262266 uses : actions/cache@v4
263267 with :
264268 path : config.cache
265- key : ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
269+ key : ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}
266270 - name : Register gcc problem matcher
267271 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
268272 - name : Install Dependencies
@@ -304,7 +308,7 @@ jobs:
304308 needs : check_source
305309 if : needs.check_source.outputs.run_tests == 'true' && needs.check_source.outputs.run_hypothesis == 'true'
306310 env :
307- OPENSSL_VER : 3.0.11
311+ OPENSSL_VER : 3.0.13
308312 PYTHONSTRICTEXTENSIONBUILD : 1
309313 steps :
310314 - uses : actions/checkout@v4
@@ -341,11 +345,13 @@ jobs:
341345 run : mkdir -p $CPYTHON_RO_SRCDIR $CPYTHON_BUILDDIR
342346 - name : Bind mount sources read-only
343347 run : sudo mount --bind -o ro $GITHUB_WORKSPACE $CPYTHON_RO_SRCDIR
348+ - name : Runner image version
349+ run : echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
344350 - name : Restore config.cache
345351 uses : actions/cache@v4
346352 with :
347353 path : ${{ env.CPYTHON_BUILDDIR }}/config.cache
348- key : ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
354+ key : ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}
349355 - name : Configure CPython out-of-tree
350356 working-directory : ${{ env.CPYTHON_BUILDDIR }}
351357 run : |
@@ -415,16 +421,18 @@ jobs:
415421 needs : check_source
416422 if : needs.check_source.outputs.run_tests == 'true'
417423 env :
418- OPENSSL_VER : 3.0.11
424+ OPENSSL_VER : 3.0.13
419425 PYTHONSTRICTEXTENSIONBUILD : 1
420426 ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
421427 steps :
422428 - uses : actions/checkout@v4
429+ - name : Runner image version
430+ run : echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
423431 - name : Restore config.cache
424432 uses : actions/cache@v4
425433 with :
426434 path : config.cache
427- key : ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
435+ key : ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}
428436 - name : Register gcc problem matcher
429437 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
430438 - name : Install Dependencies
0 commit comments