Commit eb8de7d
ci: probe glibc linux natives on musl/Alpine (#46)
* ci: probe whether the glibc linux natives load on musl/Alpine
Add a non-gating (continue-on-error) musl-probe job for linux-x86_64 and
linux-aarch64. The natives are built for the *-linux-gnu ABI, so this
checks empirically whether they load on musl rather than guessing.
The action steps (checkout, setup-java, Maven fetch, javac) run on the
glibc host; only the final `java` runs inside an Alpine/musl JDK container
(amazoncorretto:25-alpine), so node-based actions never run under musl. If
the probe fails, the fix is to add x86_64-linux-musl / aarch64-linux-musl
target triples to build-zstd.sh and ship two more native jars.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* ci: fold the musl probe into the smoke matrix
Instead of a separate musl-probe job, add the two Alpine/musl legs to the
smoke matrix (container + experimental flags). Steps branch on matrix.container:
native legs run via JBang on the host; musl legs fetch+compile on the glibc
host then run java inside an Alpine/musl JDK container. continue-on-error is
per-leg (matrix.experimental), so the six native legs gate and the two musl
probes don't.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 99423dc commit eb8de7d
1 file changed
Lines changed: 39 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | | - | |
56 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
69 | | - | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| 81 | + | |
75 | 82 | | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| 87 | + | |
79 | 88 | | |
80 | 89 | | |
81 | 90 | | |
82 | 91 | | |
83 | 92 | | |
84 | 93 | | |
85 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
0 commit comments