Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta: Provide symbolicli binaries #1304

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ requireNames:
- /^symbolicator-Linux-x86_64-debug.zip$/
- /^symbolicator-aarch64-apple-darwin-debug.zip$/
- /^symbolicator-x86_64-apple-darwin-debug.zip$/
- /^symbolicli-Darwin-universal$/
- /^symbolicli-Linux-x86_64$/
- /^symbolicli-Windows-x86_64\.exe$/
- /^symsorter-Darwin-universal$/
- /^symsorter-Linux-x86_64$/
- /^symsorter-Windows-x86_64\.exe$/
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ jobs:
# Strip debug info for tools
objcopy --strip-debug --strip-unneeded target/release/wasm-split
objcopy --strip-debug --strip-unneeded target/release/symsorter
objcopy --strip-debug --strip-unneeded target/release/symbolicli

# Move all binaries
mv target/release/symbolicator build/symbolicator-Linux-x86_64
mv target/release/wasm-split build/wasm-split-Linux-x86_64
mv target/release/symsorter build/symsorter-Linux-x86_64
mv target/release/symbolicli build/symbolicli-Linux-x86_64

- uses: actions/[email protected]
with:
Expand Down Expand Up @@ -85,6 +87,10 @@ jobs:
target/x86_64-apple-darwin/release/symsorter \
target/aarch64-apple-darwin/release/symsorter

lipo -create -output build/symbolicli-Darwin-universal \
target/x86_64-apple-darwin/release/symbolicli \
target/aarch64-apple-darwin/release/symbolicli

cd target/x86_64-apple-darwin/release
# Recursive zip the debug symbol folder and place the output in the output directory
zip -r ../../../build/symbolicator-x86_64-apple-darwin-debug.zip symbolicator.dSYM
Expand Down Expand Up @@ -118,6 +124,7 @@ jobs:
cd target/release
mv symbolicator.exe symbolicator-Windows-x86_64.exe
mv symsorter.exe symsorter-Windows-x86_64.exe
mv symbolicli.exe symbolicli-Windows-x86_64.exe
mv wasm-split.exe wasm-split-Windows-x86_64.exe

- uses: actions/[email protected]
Expand Down