Commit a336ec3
ci: workflow hygiene (concurrency, timeouts, loongarch fold, mips64, fork-safe codecov) (#346)
* ci: workflow hygiene pass
Bundles a few low-risk improvements:
- Fold cross-loongarch64.yml into cross.yml; loongarch64 needs the
versioned gcc-14 package and per-entry CC/AR overrides, expressed
via optional matrix fields with `||` fallbacks.
- Add concurrency groups so superseded runs auto-cancel.
- Add timeout-minutes: 10 to all jobs so a hung qemu/MSYS2 step
fails fast instead of consuming the 6h default.
- Bump actions/checkout to v7 (only breaking change is fork PR
blocking in pull_request_target/workflow_run, neither used here).
- Standardize parallelism: $(nproc) on Linux/MSYS2,
$(getconf _NPROCESSORS_ONLN) on macOS (no `nproc` by default).
- cross.yml runs `make test` under qemu-user-binfmt with
QEMU_LD_PREFIX + LD_LIBRARY_PATH so new tests added to the
Makefile target are picked up without editing the workflow.
- Uncomment mips64/mips64el (per maintainer request) to surface
whatever fails under newer qemu.
- Guard the Codecov upload so it's skipped on forked-PR runs where
the token isn't exposed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* ci: disable mips64 / mips64el cross jobs (see #347)
Failures are spurious FPU exception flags under qemu-user on
Ubuntu 24.04 — computed values are correct, only the post-call
"Divide by zero" / "Invalid operation" flag state disagrees.
32-bit mips/mipsel pass cleanly under the same setup.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* ci: re-enable mips64 / mips64el on ubuntu-26.04
Ubuntu 26.04 ships qemu 10.2.1 (vs 8.2 on 24.04). The MIPS64 n64
FPU flag handling that surfaced as spurious "Divide by zero" /
"Invalid operation" failures on 24.04 should be fixed in qemu 10.x.
Per-entry runs-on override keeps the rest of the matrix on 24.04.
Refs #347.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* ci: re-disable mips64 / mips64el (toolchain dropped from 26.04)
Bumping the runner to ubuntu-26.04 to get qemu 10.x doesn't work:
Ubuntu 26.04 dropped gcc-mips64-linux-gnuabi64 entirely (Debian's
broader MIPS deprecation). 24.04 has the toolchain but the qemu
8.2 FPU flag bug; 26.04 has new qemu but no cross-gcc.
Refs #347.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 590f28d commit a336ec3
3 files changed
Lines changed: 56 additions & 88 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | 16 | | |
12 | 17 | | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | | - | |
23 | | - | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
40 | | - | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
46 | | - | |
| 53 | + | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
| 57 | + | |
50 | 58 | | |
51 | 59 | | |
52 | | - | |
| 60 | + | |
53 | 61 | | |
54 | | - | |
| 62 | + | |
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
61 | | - | |
| 69 | + | |
62 | 70 | | |
63 | 71 | | |
64 | | - | |
| 72 | + | |
65 | 73 | | |
66 | | - | |
| 74 | + | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
| 80 | + | |
| 81 | + | |
72 | 82 | | |
73 | 83 | | |
74 | 84 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | | - | |
15 | | - | |
16 | 18 | | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
| 48 | + | |
| 49 | + | |
37 | 50 | | |
38 | | - | |
39 | | - | |
| 51 | + | |
| 52 | + | |
40 | 53 | | |
41 | 54 | | |
42 | | - | |
| 55 | + | |
| 56 | + | |
43 | 57 | | |
44 | | - | |
| 58 | + | |
45 | 59 | | |
46 | | - | |
47 | | - | |
| 60 | + | |
| 61 | + | |
48 | 62 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
0 commit comments