Skip to content

Commit 91985ce

Browse files
committed
don't build other ports due to common-hal changes
1 parent 062d63e commit 91985ce

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tools/ci_set_matrix.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def set_output(name, value):
5353
with open(os.environ["GITHUB_OUTPUT"], "at") as f:
5454
print(f"{name}={value}", file=f)
5555
else:
56-
print("Would set GitHub actions output {name} to '{value}'")
56+
print(f"Would set GitHub actions output {name} to '{value}'")
5757

5858

5959
def set_boards_to_build(build_all):
@@ -80,9 +80,7 @@ def set_boards_to_build(build_all):
8080
boards_to_build = set()
8181
board_pattern = re.compile(r"^ports/[^/]+/boards/([^/]+)/")
8282
port_pattern = re.compile(r"^ports/([^/]+)/")
83-
module_pattern = re.compile(
84-
r"^(ports/[^/]+/common-hal|shared-bindings|shared-module)/([^/]+)/"
85-
)
83+
module_pattern = re.compile(r"^(ports/[^/]+/shared-bindings|shared-module)/([^/]+)/")
8684
for p in changed_files:
8785
# See if it is board specific
8886
board_matches = board_pattern.search(p)

0 commit comments

Comments
 (0)