ci: ensure binary size artifacts are uploaded in Build Stage Child pipeline via artifacts_handler script.

- Updated dynamic pipeline to include artifact upload commands for size reports, allowing easier parsing on the CI dashboard.
- Each job now handles its own size.json file, ensuring independent access for better CI artifact management.
This commit is contained in:
Aleksei Apaseev
2024-09-18 11:16:04 +08:00
parent 794cf2ea0e
commit 397fdb56fb
5 changed files with 8 additions and 6 deletions

View File

@@ -25,6 +25,7 @@ from idf_py_actions.constants import SUPPORTED_TARGETS as TOOLS_SUPPORTED_TARGET
from .constants import CollectMode
from .constants import DEFAULT_BUILD_LOG_FILENAME
from .constants import DEFAULT_CONFIG_RULES_STR
from .constants import DEFAULT_SIZE_JSON_FILENAME
from .constants import PytestCase
from .plugin import IdfPytestEmbedded
@@ -162,7 +163,7 @@ def get_all_apps(
build_dir='build_@t_@w',
config_rules_str=config_rules_str or DEFAULT_CONFIG_RULES_STR,
build_log_filename=DEFAULT_BUILD_LOG_FILENAME,
size_json_filename='size.json',
size_json_filename=DEFAULT_SIZE_JSON_FILENAME,
check_warnings=True,
manifest_rootpath=IDF_PATH,
compare_manifest_sha_filepath=compare_manifest_sha_filepath,