summaryrefslogtreecommitdiff
path: root/tools/get_deps.py
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-05-10 18:55:43 +0700
committerGitHub <[email protected]>2024-05-10 18:55:43 +0700
commit3e2ea7750681b27238043c7158ff5508f01914a3 (patch)
tree11f9198467f561c1ff4cfd3c45e9a7b02cf9f572 /tools/get_deps.py
parentbf9cf107c638f5f674be716b8ac7cd983aa05804 (diff)
More ci tweak (#2636)
* change concurrency group to ${{ github.workflow }}-${{ github.ref }} * use argparse for build.py hil_test.py, remove the need to install click * move ci win/mac to build_cmake.yml * rename build_family.yml to build_util.yml * build_util.yml support esp32 * integrate build-espressif into build.yml * build.py support make with --board option * add get_deps action * update hil test to reuse action
Diffstat (limited to 'tools/get_deps.py')
-rw-r--r--tools/get_deps.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/get_deps.py b/tools/get_deps.py
index 2359b4bd0..20cbe64c7 100644
--- a/tools/get_deps.py
+++ b/tools/get_deps.py
@@ -245,11 +245,10 @@ def main():
args = parser.parse_args()
families = args.families
- board = args.board
+ boards = args.board
- if len(families) == 0 and len(board) == 0:
- print("Please specify family or board to fetch")
- return
+ if len(families) == 0 and len(boards) == 0:
+ print("Warning: family and board are not specified, only fetching mandatory dependencies.")
status = 0
deps = list(deps_mandatory.keys())
@@ -258,8 +257,8 @@ def main():
deps += deps_optional.keys()
else:
families = list(families)
- if board is not None:
- for b in board:
+ if boards is not None:
+ for b in boards:
f = find_family(b)
if f is not None:
families.append(f)