From 5b70ff9e87b62b12fcfa3222cd9b649e94687597 Mon Sep 17 00:00:00 2001 From: ElektroVodka <211697683+Elektr0Vodka@users.noreply.github.com> Date: Mon, 23 Nov 2026 04:12:58 +0100 Subject: [PATCH] ci(release): skip LilyGo T3 STM32 boards in DMC releases The T3 STM32 (new upstream board) has 224 KB of app flash. Upstream's repeater already uses 94.7% and the DMC features push it 3.2 KB over, so every repeater and packetlog run failed on it. Skip LilyGo_T3_STM32_* in the env list instead of editing the variant, so upstream syncs stay conflict-free. T3S3 boards are not affected. --- .github/workflows/dmc-firmware-release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dmc-firmware-release.yml b/.github/workflows/dmc-firmware-release.yml index 0861c2394cd..6fd24100a29 100644 --- a/.github/workflows/dmc-firmware-release.yml +++ b/.github/workflows/dmc-firmware-release.yml @@ -186,12 +186,17 @@ jobs: python3 - "$RUNNER_TEMP/pio-config.json" <<'PY' import hashlib, json, os, re, sys pattern = re.compile(os.environ["PATTERN"], re.I) + # Boards DMC does not ship, whatever the firmware set. Kept here rather than + # in the variant files so upstream syncs stay conflict-free. + # LilyGo_T3_STM32_*: 224 KB app flash; upstream's repeater already uses + # 94.7% and the DMC features push it 3.2 KB over (2026-11-23). + skip = re.compile(r"^LilyGo_T3_STM32_", re.I) rows = [] for section, items in json.load(open(sys.argv[1])): if not section.startswith("env:"): continue env = section[4:] - if not pattern.search(env): + if not pattern.search(env) or skip.search(env): continue opts = dict(items) # Toolchain cache key: envs on the same platform + packages share it.