mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02:00
ci: fix ci_build_apps.py for linux target
This commit is contained in:
@@ -60,13 +60,17 @@ def get_pytest_apps(
|
|||||||
LOGGER.info(f'Found {len(app_dirs)} apps')
|
LOGGER.info(f'Found {len(app_dirs)} apps')
|
||||||
app_dirs.sort()
|
app_dirs.sort()
|
||||||
|
|
||||||
|
default_size_json_path = 'size.json'
|
||||||
|
if target == 'linux': # no idf_size.py for linux target
|
||||||
|
default_size_json_path = None # type: ignore
|
||||||
|
|
||||||
apps = find_apps(
|
apps = find_apps(
|
||||||
app_dirs,
|
app_dirs,
|
||||||
target=target,
|
target=target,
|
||||||
build_dir='build_@t_@w',
|
build_dir='build_@t_@w',
|
||||||
config_rules_str=config_rules_str,
|
config_rules_str=config_rules_str,
|
||||||
build_log_path='build_log.txt',
|
build_log_path='build_log.txt',
|
||||||
size_json_path='size.json',
|
size_json_path=default_size_json_path,
|
||||||
check_warnings=True,
|
check_warnings=True,
|
||||||
manifest_files=[str(p) for p in Path(IDF_PATH).glob('**/.build-test-rules.yml')],
|
manifest_files=[str(p) for p in Path(IDF_PATH).glob('**/.build-test-rules.yml')],
|
||||||
default_build_targets=SUPPORTED_TARGETS + extra_default_build_targets,
|
default_build_targets=SUPPORTED_TARGETS + extra_default_build_targets,
|
||||||
|
Reference in New Issue
Block a user