Skip to content

Commit b5a6f70

Browse files
authored
ci: add a flag to allow skip trim debug info (#19043)
1 parent 0b79a14 commit b5a6f70

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/actions/build_linux/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ inputs:
2323
description: "Category to upload"
2424
required: false
2525
default: "default"
26+
trim_debug:
27+
description: "Trim debug info"
28+
required: false
29+
default: "true"
2630
runs:
2731
using: "composite"
2832
steps:
@@ -95,6 +99,7 @@ runs:
9599
ldd ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query || true
96100
97101
- name: Spilt Binary Symbols
102+
if: inputs.trim_debug == 'true'
98103
shell: bash
99104
run: |
100105
objcopy --only-keep-debug ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query.debug

.github/workflows/cloud.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
artifacts: meta,query
7878
category: docker
7979
features: python-udf
80+
trim_debug: false
8081

8182
docker:
8283
needs: [ info, build ]

0 commit comments

Comments
 (0)