25
25
permissions :
26
26
contents : read
27
27
28
+ concurrency :
29
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
30
+ cancel-in-progress : true
31
+
28
32
jobs :
29
33
check_source :
30
34
name : ' Check for source changes'
37
41
id : check
38
42
run : |
39
43
if [ -z "$GITHUB_BASE_REF" ]; then
40
- echo '::set-output name= run_tests:: true'
44
+ echo " run_tests= true" >> $GITHUB_OUTPUT
41
45
else
42
46
git fetch origin $GITHUB_BASE_REF --depth=1
43
47
# git diff "origin/$GITHUB_BASE_REF..." (3 dots) may be more
53
57
# into the PR branch anyway.
54
58
#
55
59
# https://github.com/python/core-workflow/issues/373
56
- git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name= run_tests:: true' || true
60
+ git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo " run_tests= true" >> $GITHUB_OUTPUT || true
57
61
fi
58
62
59
63
check_generated_files :
69
73
- name : Add ccache to PATH
70
74
run : echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
71
75
- name : Configure ccache action
72
- uses : hendrikmuhs/ccache-action@v1
76
+ uses : hendrikmuhs/ccache-action@v1.2
73
77
- name : Check Autoconf version 2.69 and aclocal 1.16.3
74
78
run : |
75
79
grep "Generated by GNU Autoconf 2.69" configure
@@ -172,7 +176,7 @@ jobs:
172
176
needs : check_source
173
177
if : needs.check_source.outputs.run_tests == 'true'
174
178
env :
175
- OPENSSL_VER : 1.1.1q
179
+ OPENSSL_VER : 1.1.1s
176
180
PYTHONSTRICTEXTENSIONBUILD : 1
177
181
steps :
178
182
- uses : actions/checkout@v3
@@ -198,7 +202,7 @@ jobs:
198
202
run : |
199
203
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
200
204
- name : Configure ccache action
201
- uses : hendrikmuhs/ccache-action@v1
205
+ uses : hendrikmuhs/ccache-action@v1.2
202
206
- name : Setup directory envs for out-of-tree builds
203
207
run : |
204
208
echo "CPYTHON_RO_SRCDIR=$(realpath -m ${GITHUB_WORKSPACE}/../cpython-ro-srcdir)" >> $GITHUB_ENV
@@ -231,7 +235,7 @@ jobs:
231
235
strategy :
232
236
fail-fast : false
233
237
matrix :
234
- openssl_ver : [1.1.1q , 3.0.5 ]
238
+ openssl_ver : [1.1.1s , 3.0.7 ]
235
239
env :
236
240
OPENSSL_VER : ${{ matrix.openssl_ver }}
237
241
MULTISSL_DIR : ${{ github.workspace }}/multissl
@@ -261,7 +265,7 @@ jobs:
261
265
run : |
262
266
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
263
267
- name : Configure ccache action
264
- uses : hendrikmuhs/ccache-action@v1
268
+ uses : hendrikmuhs/ccache-action@v1.2
265
269
- name : Configure CPython
266
270
run : ./configure --with-pydebug --with-openssl=$OPENSSL_DIR
267
271
- name : Build CPython
@@ -278,7 +282,7 @@ jobs:
278
282
needs : check_source
279
283
if : needs.check_source.outputs.run_tests == 'true'
280
284
env :
281
- OPENSSL_VER : 1.1.1q
285
+ OPENSSL_VER : 1.1.1s
282
286
PYTHONSTRICTEXTENSIONBUILD : 1
283
287
ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
284
288
steps :
@@ -305,7 +309,7 @@ jobs:
305
309
run : |
306
310
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
307
311
- name : Configure ccache action
308
- uses : hendrikmuhs/ccache-action@v1
312
+ uses : hendrikmuhs/ccache-action@v1.2
309
313
- name : Configure CPython
310
314
run : ./configure --with-address-sanitizer --without-pymalloc
311
315
- name : Build CPython
0 commit comments