Commit 7572bd1
committed
feat(release): build static Linux x64 binaries with musl
Switch Linux x64 release builds from dynamic glibc (x86_64-unknown-linux-gnu)
to static musl (x86_64-unknown-linux-musl) in GitHub Actions release workflow.
- Change matrix target for codewhale and codewhale-tui linux-x64 to musl
- Add dedicated musl build step: install musl-tools, add musl target
- Skip libdbus-1-dev install for musl targets (keyring gated at compile time)
- Skip generic Build step for musl (handled by dedicated step)
- Parity with CNB pipeline (.cnb.yml) which already uses musl (PR #2903)
Static binaries have no glibc/libdbus runtime dependency and run on any
Linux distribution without additional packages.1 parent 14ac031 commit 7572bd1
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
182 | 189 | | |
183 | 190 | | |
184 | 191 | | |
| |||
215 | 222 | | |
216 | 223 | | |
217 | 224 | | |
| 225 | + | |
218 | 226 | | |
219 | 227 | | |
220 | 228 | | |
| |||
0 commit comments