Commit 02485fa
committed
ci(release): #260 S2 — per-platform compiler binaries + SHA256SUMS (ADR-019)
ADR-019 slice S2. `release.yml` was a single linux job emitting one
tar.gz. Reworked into the Releases-canonical artifact contract:
- `prepare`: idempotent `gh release create <tag> --generate-notes`.
- `build` matrix → `affinescript-<target>` raw executables for
linux-x64, macos-x64 (macos-13), macos-arm64 (macos-14); each
`gh release upload --clobber`.
- `checksums` (needs build): `gh release download` all binaries,
`sha256sum … > SHA256SUMS`, upload it. One manifest over all
targets — the supply-chain pin the #260 S3 shim embeds per version.
Asset contract is now ADR-019-fixed: `affinescript-<target>` +
`SHA256SUMS` (don't rename without amending ADR-019 + the shim).
Asset handling uses the runner-native `gh` CLI (GITHUB_TOKEN) so no
new third-party action needs SHA-pinning — only the already-pinned
checkout (de0fac2) + setup-ocaml (e32b06) remain; the unpinned
softprops/action-gh-release is dropped. `windows-x64` is a tracked
follow-up (native OCaml Windows CI is flaky; S2 bounded to the three
POSIX targets, fail-fast:false so one platform can't sink the rest).
CI-workflow only — no compiler/source/test change (dune gate
unaffected: 295/295 on the base). Triggers only on `v*` tags.
Refs #260 #282. Not Closes — S3 (the shim) + S4 (wire INT-10) remain.1 parent 8af9b46 commit 02485fa
1 file changed
Lines changed: 70 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
2 | 20 | | |
3 | 21 | | |
4 | 22 | | |
| |||
10 | 28 | | |
11 | 29 | | |
12 | 30 | | |
13 | | - | |
| 31 | + | |
14 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
15 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
16 | 60 | | |
17 | 61 | | |
18 | 62 | | |
| |||
23 | 67 | | |
24 | 68 | | |
25 | 69 | | |
26 | | - | |
| 70 | + | |
27 | 71 | | |
28 | 72 | | |
29 | 73 | | |
30 | 74 | | |
31 | | - | |
| 75 | + | |
32 | 76 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 77 | + | |
| 78 | + | |
36 | 79 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
0 commit comments