Skip to content

Commit

Permalink
chore(query): spilt binary symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang2014 committed Nov 17, 2024
1 parent aa283c1 commit d46df0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build_linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ runs:
- name: Spilt Binary Symbols
shell: bash
run: |
objcopy --only-keep-debug ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-$artifact ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-$artifact.debug
chmod 0644 ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-$artifact.debug
strip --strip-debug --remove-section=.comment --remove-section=.note ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-$artifact
objcopy --only-keep-debug ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query.debug
chmod 0644 ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query.debug
strip --strip-debug --remove-section=.comment --remove-section=.note ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query
# - name: Compress Binaries with UPX
# if: env.BUILD_PROFILE == 'debug'
Expand Down

0 comments on commit d46df0e

Please sign in to comment.