From e95ff277a4d6628c7ad21a0f1ef55c50affe6e12 Mon Sep 17 00:00:00 2001 From: Maxim Yurchuk Date: Mon, 7 Oct 2024 18:21:32 +0300 Subject: [PATCH] Build analytics for whole ydb dir (#10180) --- .github/actions/build_analytics/action.yml | 5 +---- .github/workflows/build_analytics.yml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/actions/build_analytics/action.yml b/.github/actions/build_analytics/action.yml index e8018eec6424..a9f219ed40a0 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 609381c7c41d..076c7bcfe18c 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: