Commit 4fc981e
committed
ci: harden Ubuntu audio-dep install against slow apt mirrors
The Ubuntu `lint + typecheck + tests` cells kept timing out at the
"System deps (PortAudio + ffmpeg)" step and getting cancelled before the
tests ran, which bounced this PR out of the merge queue. Root cause: a plain
`apt-get install ffmpeg` pulls a ~100-package / ~94 MB dependency closure, and
against a degraded Azure Ubuntu mirror that download overran the job's 15-min
timeout. Windows was unaffected (it installs only ffmpeg, in under a minute).
Factor the three identical Ubuntu installs into scripts/ci_install_audio_deps.sh
that (1) passes --no-install-recommends to drop the optional codec/VA-API/SDL
recommends that balloon the payload, and (2) wraps each apt call in a bounded
`timeout` + retry so a stalled mirror connection is killed and retried instead
of wedging the whole job. Bump the two Ubuntu test jobs from 15 to 20 minutes
(matching the Windows job) to give the retry path headroom.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFrwHX8EdECmkNsU8LqJNf1 parent c939202 commit 4fc981e
2 files changed
Lines changed: 41 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
248 | | - | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| |||
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
260 | | - | |
| 261 | + | |
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
344 | | - | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments