ci: use IDF_PATH as the manifest root path

this would remove the restriction that tools/ci/ci_build_apps.py could
only be run in IDF_PATH.
This commit is contained in:
Fu Hanxi
2023-02-20 14:55:04 +08:00
parent 603fc32e24
commit a0c025cc47

View File

@@ -79,6 +79,7 @@ def get_pytest_apps(
check_warnings=True,
manifest_files=[str(p) for p in Path(IDF_PATH).glob('**/.build-test-rules.yml')],
default_build_targets=SUPPORTED_TARGETS + extra_default_build_targets,
manifest_rootpath=IDF_PATH,
)
for app in apps:
@@ -109,6 +110,7 @@ def get_cmake_apps(
preserve=False,
manifest_files=[str(p) for p in Path(IDF_PATH).glob('**/.build-test-rules.yml')],
default_build_targets=SUPPORTED_TARGETS + extra_default_build_targets,
manifest_rootpath=IDF_PATH,
)
apps_for_build = []