Repository navigation
Commit fb1127f
committed
ci: verify the cargo-built macOS x64 binary links only system dylibs
The darwin-x64 package is built with plain cargo on a GitHub macOS
runner, so the portability assertion added to the Nix derivation does
not cover it and no other gate inspects it before staging. Fail the
build action if otool -L reports any dylib outside /usr/lib or
/System/Library, mirroring the assertion in package.nix.
The check logic was exercised locally on macOS: a /usr/lib-linked
binary passes and a Nix-store-linked binary fails with the offending
path printed.1 parent df7e1f6 commit fb1127f
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
17 | 30 | | |
18 | 31 | | |
19 | 32 | | |
| |||
0 commit comments