9898 run : tests/run-tests.py --print-failures
9999
100100 coverage_32bit :
101- runs-on : ubuntu-20 .04 # use 20 .04 to get libffi-dev:i386
101+ runs-on : ubuntu-22 .04 # use 22 .04 to get libffi-dev:i386
102102 steps :
103103 - uses : actions/checkout@v4
104104 - name : Install packages
@@ -116,7 +116,7 @@ jobs:
116116 run : tests/run-tests.py --print-failures
117117
118118 nanbox :
119- runs-on : ubuntu-20 .04 # use 20 .04 to get python2, and libffi-dev:i386
119+ runs-on : ubuntu-22 .04 # use 22 .04 to get python2, and libffi-dev:i386
120120 steps :
121121 - uses : actions/checkout@v4
122122 - name : Install packages
@@ -142,7 +142,7 @@ jobs:
142142 run : tests/run-tests.py --print-failures
143143
144144 stackless_clang :
145- runs-on : ubuntu-20.04
145+ runs-on : ubuntu-latest
146146 steps :
147147 - uses : actions/checkout@v4
148148 - name : Install packages
@@ -156,7 +156,7 @@ jobs:
156156 run : tests/run-tests.py --print-failures
157157
158158 float_clang :
159- runs-on : ubuntu-20.04
159+ runs-on : ubuntu-latest
160160 steps :
161161 - uses : actions/checkout@v4
162162 - name : Install packages
@@ -173,6 +173,11 @@ jobs:
173173 runs-on : ubuntu-latest
174174 steps :
175175 - uses : actions/checkout@v4
176+ - uses : actions/setup-python@v5
177+ # Python 3.12 is the default for ubuntu-24.04, but that has compatibility issues with settrace tests.
178+ # Can remove this step when ubuntu-latest uses a more recent Python 3.x as the default.
179+ with :
180+ python-version : ' 3.11'
176181 - name : Build
177182 run : source tools/ci.sh && ci_unix_settrace_build
178183 - name : Run main test suite
@@ -185,6 +190,11 @@ jobs:
185190 runs-on : ubuntu-latest
186191 steps :
187192 - uses : actions/checkout@v4
193+ - uses : actions/setup-python@v5
194+ # Python 3.12 is the default for ubuntu-24.04, but that has compatibility issues with settrace tests.
195+ # Can remove this step when ubuntu-latest uses a more recent Python 3.x as the default.
196+ with :
197+ python-version : ' 3.11'
188198 - name : Build
189199 run : source tools/ci.sh && ci_unix_settrace_stackless_build
190200 - name : Run main test suite
@@ -209,7 +219,8 @@ jobs:
209219 run : tests/run-tests.py --print-failures
210220
211221 qemu_mips :
212- runs-on : ubuntu-latest
222+ # ubuntu-22.04 is needed for older libffi.
223+ runs-on : ubuntu-22.04
213224 steps :
214225 - uses : actions/checkout@v4
215226 - name : Install packages
@@ -223,7 +234,8 @@ jobs:
223234 run : tests/run-tests.py --print-failures
224235
225236 qemu_arm :
226- runs-on : ubuntu-latest
237+ # ubuntu-22.04 is needed for older libffi.
238+ runs-on : ubuntu-22.04
227239 steps :
228240 - uses : actions/checkout@v4
229241 - name : Install packages
@@ -237,7 +249,8 @@ jobs:
237249 run : tests/run-tests.py --print-failures
238250
239251 qemu_riscv64 :
240- runs-on : ubuntu-latest
252+ # ubuntu-22.04 is needed for older libffi.
253+ runs-on : ubuntu-22.04
241254 steps :
242255 - uses : actions/checkout@v4
243256 - name : Install packages
0 commit comments