Skip to content

Conversation

luoliwoshang
Copy link
Member

@luoliwoshang luoliwoshang commented Mar 10, 2025

https://github.com/actions/runner-images?tab=readme-ov-file#available-images

  • test same llcppg demo test with binaries

test action in https://github.com/luoliwoshang/llcppg/actions/runs/13765842438/job/38492483406
test release result in https://github.com/luoliwoshang/llcppg/releases/tag/v0.0.3-test

question

in the action test can pass https://github.com/luoliwoshang/llcppg/actions/runs/13765842438/job/38492483406
but when download these llcppg binaries https://github.com/luoliwoshang/llcppg/releases/tag/v0.0.3-test and run will got

llcppg on  main [$!?] via 🐹 v1.23.4 via 🌙 v5.4.7 took 15s 
❯ llcppg                         
dyld[31330]: Library not loaded: @rpath/libffi.8.dylib
  Referenced from: <4C4C4442-5555-3144-A18D-39D438E1174A> /Users/zhangzhiyang/Documents/Code/goplus/llcppg/ttbinm/llcppsymg
  Reason: tried: '/Users/zhangzhiyang/Documents/Code/goplus/llcppg/ttbinm/libffi.8.dylib' (no such file), '/Users/zhangzhiyang/Documents/Code/goplus/llcppg/ttbinm/../lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/cjson/1.7.18/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/cjson/1.7.18/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/libffi/3.4.7/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libffi/3.4.7/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/libuv/1.50.0/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libuv/1.50.0/lib/libffi.8.dylib' (no such file), '/Users/zhangzhiyang/Documents/Code/goplus/llcppg/ttbinm/libffi.8.dylib' (no such file), '/Users/zhangzhiyang/Documents/Code/goplus/llcppg/ttbinm/../lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/cjson/1.7.18/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/cjson/1.7.18/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/libffi/3.4.7/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libffi/3.4.7/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/libuv/1.50.0/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libuv/1.50.0/lib/libffi.8.dylib' (no such file)
panic: signal: abort trap

goroutine 1 [running]:
main.check(...)
        /Users/runner/work/llcppg/llcppg/llcppg.go:190
main.do({0x10095274f, 0xa}, 0x3, 0x0)
        /Users/runner/work/llcppg/llcppg/llcppg.go:176 +0x2f8
main.main()
        /Users/runner/work/llcppg/llcppg/llcppg.go:158 +0x390

relate question in goplus/llgo#1017

@codecov
Copy link

codecov bot commented Mar 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.40%. Comparing base (ca5e79b) to head (f97d2d7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #209   +/-   ##
=======================================
  Coverage   98.40%   98.40%           
=======================================
  Files          15       15           
  Lines        2189     2189           
=======================================
  Hits         2154     2154           
  Misses         24       24           
  Partials       11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@luoliwoshang luoliwoshang changed the title ci:create release [WIP] ci:create release Mar 10, 2025
@MeteorsLiu
Copy link
Contributor

Same panic here:

dyld[92423]: Library not loaded: @rpath/libffi.8.dylib
  Referenced from: <4C4C4442-5555-3144-A18D-39D438E1174A> /Users/haolan/Downloads/darwin-arm64/llcppsymg
  Reason: tried: '/Users/haolan/.gvm/pkgsets/go1.21.13/global/overlay/lib/libffi.8.dylib' (no such file), '/Users/haolan/.gvm/pkgsets/go1.21.13/global/overlay/lib/libffi.8.dylib' (no such file), '/Users/haolan/Downloads/darwin-arm64/libffi.8.dylib' (no such file), '/Users/haolan/Downloads/darwin-arm64/../lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/cjson/1.7.18/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/cjson/1.7.18/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/libffi/3.4.7/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libffi/3.4.7/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/libuv/1.50.0/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libuv/1.50.0/lib/libffi.8.dylib' (no such file), '/Users/haolan/Downloads/darwin-arm64/libffi.8.dylib' (no such file), '/Users/haolan/Downloads/darwin-arm64/../lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/cjson/1.7.18/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/cjson/1.7.18/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/llvm@18/18.1.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/libffi/3.4.7/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libffi/3.4.7/lib/libffi.8.dylib' (no such file), '/opt/homebrew/Cellar/libuv/1.50.0/lib/libffi.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libuv/1.50.0/lib/libffi.8.dylib' (no such file)
panic: signal: abort trap

goroutine 1 [running]:
main.check(...)
	/Users/runner/work/llcppg/llcppg/llcppg.go:190
main.do({0x100b8274f, 0xa}, 0x3, 0x0)
	/Users/runner/work/llcppg/llcppg/llcppg.go:176 +0x2f8
main.main()
	/Users/runner/work/llcppg/llcppg/llcppg.go:158 +0x390

@luoliwoshang luoliwoshang marked this pull request as draft March 13, 2025 07:35
@luoliwoshang luoliwoshang changed the title [WIP] ci:create release [WIP] ci:release binary Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants