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
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user