From 498926083ef937dd5f9554eaf34a0e2e6d572324 Mon Sep 17 00:00:00 2001 From: Gao Wei Date: Fri, 27 Sep 2024 16:18:00 +0800 Subject: [PATCH] ci: Delete preserve param in build_apps.py --- tools/ci/build_apps.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/ci/build_apps.py b/tools/ci/build_apps.py index 2aa2f5a0..024a8f6f 100644 --- a/tools/ci/build_apps.py +++ b/tools/ci/build_apps.py @@ -92,7 +92,6 @@ def get_cmake_apps( build_log_filename='build_log.txt', size_json_filename='size.json', check_warnings=True, - preserve=True, default_build_targets=default_build_targets, manifest_files=[str(p) for p in Path(os.environ['ADF_PATH']).glob('**/.build-test-rules.yml')], ) @@ -106,7 +105,7 @@ def main(args): # type: (argparse.Namespace) -> None else: apps_to_build = apps[:] - print('Found %d apps after filtering', len(apps_to_build)) + print(f'Found {len(apps_to_build)} apps after filtering') print( 'Suggest setting the parallel count to %d for this build job', len(apps_to_build) // APPS_BUILD_PER_JOB + 1,