Skip to content

Commit

Permalink
Build analytics for whole ydb dir (#10180)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximyurchuk authored Oct 7, 2024
1 parent 7a861b9 commit e95ff27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/actions/build_analytics/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ runs:
shell: bash
run: |
set -ex
# FIXME: target name may be not the same as dir name
export TARGET_NAME=`basename ${{ inputs.build_target }}`
export TARGET_DIR=${{ inputs.build_target }}
export build_preset="${{ inputs.build_preset }}"
export build_target="${{ inputs.build_target }}"
./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
./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
./ydb/ci/build_bloat/template_bloat.py -j bloat.json -o template_bloat -t template_bloat_html
./ydb/ci/build_bloat/main.py --build-dir . --html-dir-cpp html_cpp_impact --html-dir-headers html_headers_impact
./ydb/ci/build_bloat/ydb_upload.py --html-dir-cpp html_cpp_impact --html-dir-headers html_headers_impact
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
default: ""
build_target:
type: string
default: "ydb/apps/ydbd"
default: "ydb"
description: "limit build and test to specific target"

jobs:
Expand Down

0 comments on commit e95ff27

Please sign in to comment.