Merge pull request #5518 from jepler/deleted-board-ci
account for deleted boards
This commit is contained in:
commit
a8b69f2852
@ -88,7 +88,12 @@ def set_boards_to_build(build_all):
|
|||||||
arch_to_boards = {"arm": [], "riscv": [], "espressif": []}
|
arch_to_boards = {"arm": [], "riscv": [], "espressif": []}
|
||||||
for board in boards_to_build:
|
for board in boards_to_build:
|
||||||
print(" ", board)
|
print(" ", board)
|
||||||
arch = PORT_TO_ARCH[board_to_port[board]]
|
port = board_to_port.get(board)
|
||||||
|
# A board can appear due to its _deletion_ (rare)
|
||||||
|
# if this happens it's not in `board_to_port`.
|
||||||
|
if not port:
|
||||||
|
continue
|
||||||
|
arch = PORT_TO_ARCH[port]
|
||||||
arch_to_boards[arch].append(board)
|
arch_to_boards[arch].append(board)
|
||||||
|
|
||||||
# Set the step outputs for each architecture
|
# Set the step outputs for each architecture
|
||||||
|
Loading…
x
Reference in New Issue
Block a user