Repository navigation
Commit c2d592d
fix(ci): build each Burrito target on its matching OS runner (CRY-40) (#108)
## Summary
- Fixes `lcls --full` crash caused by MDEx's `rustler_precompiled` NIF
being unavailable in macOS/Windows Burrito releases
- Root cause: the previous workflow built all targets on
`ubuntu-latest`, so the Linux `.so` was bundled instead of the Darwin
`.dylib` or Windows `.dll`
- Solution: each target now runs on its matching OS runner —
`macos-latest` for `macos_aarch64`, `ubuntu-latest` for `linux_x86_64`
(unchanged), `windows-latest` for `windows_x86_64`
- Also removes the `p7zip` install step, which was only needed when
cross-compiling Windows from Linux; Windows runners have `7z`
pre-installed
## Changes
- `.github/workflows/main.yaml`: convert flat `target` matrix +
`runs-on: ubuntu-latest` to an `include` matrix with per-target `runner`
fields; remove the `apt-get install p7zip-full` step
## Test plan
- [ ] Trigger a release workflow (or `workflow_dispatch`) and confirm
all three matrix legs succeed on their respective runner types
- [ ] Confirm the `macos_aarch64` binary loads MDEx correctly (`lcls
--full` no longer crashes on Darwin arm64)
- [ ] Confirm `linux_x86_64` and `windows_x86_64` builds are unaffected
Closes CRY-40.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 14e2c2c commit c2d592d
1 file changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
66 | 78 | | |
67 | 79 | | |
68 | 80 | | |
| 81 | + | |
69 | 82 | | |
70 | 83 | | |
71 | 84 | | |
| |||
87 | 100 | | |
88 | 101 | | |
89 | 102 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 103 | | |
96 | 104 | | |
97 | 105 | | |
| |||
0 commit comments