Skip to content

Commit e95ff27

Browse files
authored
Build analytics for whole ydb dir (#10180)
1 parent 7a861b9 commit e95ff27

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/actions/build_analytics/action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,9 @@ runs:
3030
shell: bash
3131
run: |
3232
set -ex
33-
# FIXME: target name may be not the same as dir name
34-
export TARGET_NAME=`basename ${{ inputs.build_target }}`
35-
export TARGET_DIR=${{ inputs.build_target }}
3633
export build_preset="${{ inputs.build_preset }}"
3734
export build_target="${{ inputs.build_target }}"
38-
./ya tool bloat --linker-map $TARGET_DIR/$TARGET_NAME.map.lld --input $TARGET_DIR/$TARGET_NAME --save-html ya_bloat_html --save-json bloat.json
35+
./ya tool bloat --linker-map ydb/apps/ydbd/ydbd.map.lld --input ydb/apps/ydbd/ydbd --save-html ya_bloat_html --save-json bloat.json
3936
./ydb/ci/build_bloat/template_bloat.py -j bloat.json -o template_bloat -t template_bloat_html
4037
./ydb/ci/build_bloat/main.py --build-dir . --html-dir-cpp html_cpp_impact --html-dir-headers html_headers_impact
4138
./ydb/ci/build_bloat/ydb_upload.py --html-dir-cpp html_cpp_impact --html-dir-headers html_headers_impact

.github/workflows/build_analytics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
default: ""
2525
build_target:
2626
type: string
27-
default: "ydb/apps/ydbd"
27+
default: "ydb"
2828
description: "limit build and test to specific target"
2929

3030
jobs:

0 commit comments

Comments
 (0)