mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-14 03:04:46 +00:00
ci: verify no libc
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -429,6 +429,10 @@ jobs:
|
||||
ldd zig-out/lib/libghostty-vt.so.0.1.0
|
||||
! ldd zig-out/lib/libghostty-vt.so.0.1.0 2>/dev/null | grep -qE 'libc\+\+|libc\+\+abi'
|
||||
|
||||
- name: Verify shared library has no libc dependency
|
||||
run: |
|
||||
! nm --dynamic zig-out/lib/libghostty-vt.so.0.1.0 | grep -qE ' U .*(memcpy|memmove|memset|memcmp|strlen)@'
|
||||
|
||||
- name: Verify static archive contains SIMD deps
|
||||
run: |
|
||||
nm -g zig-out/lib/libghostty-vt.a | grep -q ' T .*simdutf'
|
||||
|
||||
Reference in New Issue
Block a user