Commit d5fc7b5
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>1 parent 99423dc commit d5fc7b5
1 file changed
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 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 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
0 commit comments