aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Yurchuk <maxim-yurchuk@ydb.tech>2024-10-07 18:21:32 +0300
committerGitHub <noreply@github.com>2024-10-07 18:21:32 +0300
commite95ff277a4d6628c7ad21a0f1ef55c50affe6e12 (patch)
tree6de4f16beae33f7bb26b586e81c00669184eb990
parent7a861b9b1799f439e838792b99b0cc1f54faf58c (diff)
downloadydb-e95ff277a4d6628c7ad21a0f1ef55c50affe6e12.tar.gz
Build analytics for whole ydb dir (#10180)
-rw-r--r--.github/actions/build_analytics/action.yml5
-rw-r--r--.github/workflows/build_analytics.yml2
2 files changed, 2 insertions, 5 deletions
diff --git a/.github/actions/build_analytics/action.yml b/.github/actions/build_analytics/action.yml
index e8018eec64..a9f219ed40 100644
--- a/.github/actions/build_analytics/action.yml
+++ b/.github/actions/build_analytics/action.yml
@@ -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
diff --git a/.github/workflows/build_analytics.yml b/.github/workflows/build_analytics.yml
index 609381c7c4..076c7bcfe1 100644
--- a/.github/workflows/build_analytics.yml
+++ b/.github/workflows/build_analytics.yml
@@ -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: