Skip to content

Commit c4ab429

Browse files
committed
Drop the duplicate Arduino workflow; arduino.yml already builds every sketch
1 parent 1621745 commit c4ab429

2 files changed

Lines changed: 7 additions & 87 deletions

File tree

.github/scripts/manifest.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,13 @@ def job_built_paths():
117117
for item in matrix.get("include") or []:
118118
if isinstance(item, dict) and isinstance(item.get("example"), str):
119119
paths.add(item["example"])
120-
for sk in matrix.get("sketch") or []:
121-
if isinstance(sk, str):
122-
paths.add("Arduino/sketches/" + sk)
120+
121+
# arduino.yml runs compile-all-examples.sh over board_list.txt, so it covers
122+
# every sketch dir rather than naming them in a matrix
123+
if (REPO / ".github/workflows/arduino.yml").is_file():
124+
for d in (REPO / "Arduino/sketches").glob("*/"):
125+
if d.is_dir():
126+
paths.add("Arduino/sketches/" + d.name)
123127
# jobs that build one hardcoded dir rather than a matrix
124128
for job, path in (("puf", "puf"), ("rpi-pico", "RPi-Pico"),
125129
("fullstack", "fullstack/freertos-wolfip-wolfssl-https"),

.github/workflows/arduino-sketches.yml

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)