Skip to content

Commit 9dea5ec

Browse files
authored
Merge pull request #5473 from microDev1/patch
Allow any character except / in port or board name
2 parents 5315348 + 6c94234 commit 9dea5ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ci_set_matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def set_boards_to_build(build_all):
6262

6363
if not build_all:
6464
boards_to_build = set()
65-
board_pattern = re.compile(r"^ports\/\w+\/boards\/(\w+)\/")
66-
port_pattern = re.compile(r"^ports\/(\w+)\/")
65+
board_pattern = re.compile(r"^ports\/[^/]+\/boards\/([^/]+)\/")
66+
port_pattern = re.compile(r"^ports\/([^/]+)\/")
6767
for p in changed_files:
6868
# See if it is board specific
6969
board_matches = board_pattern.search(p)

0 commit comments

Comments
 (0)