Commit edfd6c9
committed
ci: test against the C library as written on this branch, not as published
This package declares openkal-musl by version, which is what a published
manifest must say. A change spanning the two repositories cannot be tested that
way: the version named does not exist in the index until the other half is
released, and the run fails with
E_NOT_FOUND: package 'openkal-musl@0.4.0' not found in the synced index
which reads as a mistake in this manifest and is nothing of the kind.
Every other repository in this ecosystem solves it by substituting a working
tree. This one now does the same, for both halves of the stack beneath it: the C
library at this branch where it has one, and the specification that C library
reaches, so that what is tested is the stack as written rather than a mixture of
one branch and one release.
The substitution is asserted rather than assumed. One that matched nothing would
leave the manifest naming a version, the resolver would fetch a published C
library, and the run would report on that one while appearing to report on this
branch --- which is the failure this whole mechanism exists to prevent, arriving
by a different route.1 parent cc4dcb7 commit edfd6c9
2 files changed
Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
119 | 170 | | |
120 | 171 | | |
121 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments