33
33
check_source :
34
34
name : ' Check for source changes'
35
35
runs-on : ubuntu-latest
36
+ timeout-minutes : 10
36
37
outputs :
37
38
run_tests : ${{ steps.check.outputs.run_tests }}
38
39
steps :
63
64
check_generated_files :
64
65
name : ' Check if generated files are up to date'
65
66
runs-on : ubuntu-latest
67
+ timeout-minutes : 60
66
68
needs : check_source
67
69
if : needs.check_source.outputs.run_tests == 'true'
68
70
steps :
@@ -118,6 +120,7 @@ jobs:
118
120
build_win32 :
119
121
name : ' Windows (x86)'
120
122
runs-on : windows-latest
123
+ timeout-minutes : 60
121
124
needs : check_source
122
125
if : needs.check_source.outputs.run_tests == 'true'
123
126
env :
@@ -126,7 +129,6 @@ jobs:
126
129
- uses : actions/checkout@v3
127
130
- name : Build CPython
128
131
run : .\PCbuild\build.bat -e -d -p Win32
129
- timeout-minutes : 30
130
132
- name : Display build info
131
133
run : .\python.bat -m test.pythoninfo
132
134
- name : Tests
@@ -135,6 +137,7 @@ jobs:
135
137
build_win_amd64 :
136
138
name : ' Windows (x64)'
137
139
runs-on : windows-latest
140
+ timeout-minutes : 60
138
141
needs : check_source
139
142
if : needs.check_source.outputs.run_tests == 'true'
140
143
env :
@@ -145,7 +148,6 @@ jobs:
145
148
run : echo "::add-matcher::.github/problem-matchers/msvc.json"
146
149
- name : Build CPython
147
150
run : .\PCbuild\build.bat -e -d -p x64
148
- timeout-minutes : 30
149
151
- name : Display build info
150
152
run : .\python.bat -m test.pythoninfo
151
153
- name : Tests
@@ -154,6 +156,7 @@ jobs:
154
156
build_macos :
155
157
name : ' macOS'
156
158
runs-on : macos-latest
159
+ timeout-minutes : 60
157
160
needs : check_source
158
161
if : needs.check_source.outputs.run_tests == 'true'
159
162
env :
@@ -184,6 +187,7 @@ jobs:
184
187
build_ubuntu :
185
188
name : ' Ubuntu'
186
189
runs-on : ubuntu-20.04
190
+ timeout-minutes : 60
187
191
needs : check_source
188
192
if : needs.check_source.outputs.run_tests == 'true'
189
193
env :
@@ -241,6 +245,7 @@ jobs:
241
245
build_ubuntu_ssltests :
242
246
name : ' Ubuntu SSL tests with OpenSSL'
243
247
runs-on : ubuntu-20.04
248
+ timeout-minutes : 60
244
249
needs : check_source
245
250
if : needs.check_source.outputs.run_tests == 'true'
246
251
strategy :
@@ -290,6 +295,7 @@ jobs:
290
295
build_asan :
291
296
name : ' Address sanitizer'
292
297
runs-on : ubuntu-20.04
298
+ timeout-minutes : 60
293
299
needs : check_source
294
300
if : needs.check_source.outputs.run_tests == 'true'
295
301
env :
@@ -302,6 +308,10 @@ jobs:
302
308
run : echo "::add-matcher::.github/problem-matchers/gcc.json"
303
309
- name : Install Dependencies
304
310
run : sudo ./.github/workflows/posix-deps-apt.sh
311
+ - name : Set up GCC-10 for ASAN
312
+ uses : egor-tensin/setup-gcc@v1
313
+ with :
314
+ version : 10
305
315
- name : Configure OpenSSL env vars
306
316
run : |
307
317
echo "MULTISSL_DIR=${GITHUB_WORKSPACE}/multissl" >> $GITHUB_ENV
0 commit comments