Commit 4aabaae
authored
ci: name the build tool in one place, and remove a pin that resolved to 2026-05 (#13)
* ci: name the build tool in one place, and remove a pin that resolved to 2026-05
`mcpp build` ended at `package 'xim:glibc@>=2.39' not found` on every pull
request opened after 2026-07-11, before compiling a line. The change under
review was not involved.
`.xlings.json` declared `workspace.mcpp = 0.0.13`. That file is read from the
current directory, and `actions/checkout` places it there before any step runs,
so every `mcpp` invocation in this repository resolved to a build tool from
2026-05 rather than to the one the job installed. The index no longer serves the
toolchain packages a tool of that age asks for.
Reproduced outside CI: in a checkout of this repository, `mcpp --version`
reports
[warn] mcpp@0.0.13 is the version this project asks for, and it is not
installed yet
from ./.xlings.json -> workspace.mcpp
and reports 2026.8.28.2 once the file is removed.
The version is now an environment variable, so the install and the cache key
cannot drift apart; the cache path named 0.0.13 while the job installed
something else, so that cache had never once been hit.
A weekly schedule is added. The breakage occurred between 2026-07-11 and
2026-08-29 and nothing reported it, because master received no pushes in that
window: the first run to meet it was a contributor's, who had no way to
distinguish a broken environment from a broken change.
Measured locally against mcpp 2026.8.28.2: `mcpp build` resolves and completes,
`mcpp test` reports 9 tests from 3 suites passed.
* ci: retry transport failures when fetching the installer
`--retry` covers a transient HTTP status and a timeout and does not cover a
failure of the transport. `curl: (35) Recv failure: Connection reset by peer`
is what this ecosystem's runners actually meet, and it produces a red job that
names no defect.1 parent 965d805 commit 4aabaae
4 files changed
Lines changed: 62 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
3 | 19 | | |
4 | 20 | | |
5 | 21 | | |
6 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
7 | 37 | | |
8 | 38 | | |
9 | 39 | | |
10 | 40 | | |
11 | 41 | | |
| 42 | + | |
12 | 43 | | |
13 | 44 | | |
14 | 45 | | |
15 | 46 | | |
16 | | - | |
17 | | - | |
18 | 47 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
24 | 56 | | |
25 | 57 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
31 | 68 | | |
| 69 | + | |
| 70 | + | |
32 | 71 | | |
33 | 72 | | |
34 | 73 | | |
35 | | - | |
36 | | - | |
| 74 | + | |
| 75 | + | |
37 | 76 | | |
38 | 77 | | |
39 | 78 | | |
40 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
41 | 83 | | |
42 | 84 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
0 commit comments