Commit 3efb5b8
committed
ci: install zig 0.16.0 and xz in release job
The release jobs were failing at the Burrito pre_check step:
> You MUST have `zig` and `xz` installed to use Burrito, we
couldn't find all of them in your PATH!
GitHub-hosted runners don't ship with zig (which Burrito needs at
a pinned version, 0.16.0) or xz (used to extract zig's tarball and
musl).
Added three new steps to the release job, copied from Burrito's
own upstream CI workflow:
1. Install Zig via goto-bus-stop/setup-zig@v2 with version 0.16.0
(pinned in deps/burrito/lib/burrito.ex as @zig_version_expected).
2. Install xz via apt-get on Linux runners, brew on macOS runners.
3. Verify zig/xz are present and on PATH.
Also extended the build artifact cache to include
~/.cache/burrito_file_cache — Burrito's download cache — so
re-runs don't re-download zig/musl/openssl on every run.
Tested: actionlint clean, YAML parses, mix ci green, 162 tests
pass.1 parent aa48c53 commit 3efb5b8
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
232 | 257 | | |
233 | 258 | | |
234 | 259 | | |
235 | 260 | | |
236 | 261 | | |
237 | 262 | | |
238 | 263 | | |
| 264 | + | |
239 | 265 | | |
240 | 266 | | |
241 | 267 | | |
| |||
0 commit comments