3333  check_source :
3434    name : ' Check for source changes' 
3535    runs-on : ubuntu-latest 
36+     timeout-minutes : 10 
3637    outputs :
3738      run_tests : ${{ steps.check.outputs.run_tests }} 
3839    steps :
6364   check_generated_files :
6465    name : ' Check if generated files are up to date' 
6566    runs-on : ubuntu-latest 
67+     timeout-minutes : 60 
6668    needs : check_source 
6769    if : needs.check_source.outputs.run_tests == 'true' 
6870    steps :
@@ -118,6 +120,7 @@ jobs:
118120  build_win32 :
119121    name : ' Windows (x86)' 
120122    runs-on : windows-latest 
123+     timeout-minutes : 60 
121124    needs : check_source 
122125    if : needs.check_source.outputs.run_tests == 'true' 
123126    env :
@@ -126,7 +129,6 @@ jobs:
126129    - uses : actions/checkout@v3 
127130    - name : Build CPython 
128131      run : .\PCbuild\build.bat -e -d -p Win32 
129-       timeout-minutes : 30 
130132    - name : Display build info 
131133      run : .\python.bat -m test.pythoninfo 
132134    - name : Tests 
@@ -135,6 +137,7 @@ jobs:
135137  build_win_amd64 :
136138    name : ' Windows (x64)' 
137139    runs-on : windows-latest 
140+     timeout-minutes : 60 
138141    needs : check_source 
139142    if : needs.check_source.outputs.run_tests == 'true' 
140143    env :
@@ -145,7 +148,6 @@ jobs:
145148      run : echo "::add-matcher::.github/problem-matchers/msvc.json" 
146149    - name : Build CPython 
147150      run : .\PCbuild\build.bat -e -d -p x64 
148-       timeout-minutes : 30 
149151    - name : Display build info 
150152      run : .\python.bat -m test.pythoninfo 
151153    - name : Tests 
@@ -154,6 +156,7 @@ jobs:
154156  build_macos :
155157    name : ' macOS' 
156158    runs-on : macos-latest 
159+     timeout-minutes : 60 
157160    needs : check_source 
158161    if : needs.check_source.outputs.run_tests == 'true' 
159162    env :
@@ -184,6 +187,7 @@ jobs:
184187  build_ubuntu :
185188    name : ' Ubuntu' 
186189    runs-on : ubuntu-20.04 
190+     timeout-minutes : 60 
187191    needs : check_source 
188192    if : needs.check_source.outputs.run_tests == 'true' 
189193    env :
@@ -241,6 +245,7 @@ jobs:
241245  build_ubuntu_ssltests :
242246    name : ' Ubuntu SSL tests with OpenSSL' 
243247    runs-on : ubuntu-20.04 
248+     timeout-minutes : 60 
244249    needs : check_source 
245250    if : needs.check_source.outputs.run_tests == 'true' 
246251    strategy :
@@ -290,6 +295,7 @@ jobs:
290295  build_asan :
291296    name : ' Address sanitizer' 
292297    runs-on : ubuntu-20.04 
298+     timeout-minutes : 60 
293299    needs : check_source 
294300    if : needs.check_source.outputs.run_tests == 'true' 
295301    env :
@@ -302,6 +308,10 @@ jobs:
302308      run : echo "::add-matcher::.github/problem-matchers/gcc.json" 
303309    - name : Install Dependencies 
304310      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 
305315    - name : Configure OpenSSL env vars 
306316      run : | 
307317        echo "MULTISSL_DIR=${GITHUB_WORKSPACE}/multissl" >> $GITHUB_ENV 
0 commit comments