mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 01:06:52 +01:00
CI: skip configs whose included package sets a Zephyr platform (XIAO STM32C5 nodes)
This commit is contained in:
1 parent
0f1b32b1ed
commit
70d1079ccd
1 file changed
+3
-1
@@ -56,7 +56,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for f in ${{ steps.changed.outputs.all_changed_files }}; do
|
for f in ${{ steps.changed.outputs.all_changed_files }}; do
|
||||||
# Zephyr RTOS platforms need the esphomeplatformzephyr fork, upstream doesn't know them yet
|
# Zephyr RTOS platforms need the esphomeplatformzephyr fork, upstream doesn't know them yet
|
||||||
if grep -qE '^(nrf|stm32|nxp|renesas|silabs):' "$f"; then echo "Skipping $f (zephyr fork)"; continue; fi
|
# (the platform key may also come from an !include'd package, e.g. common/xiao_stm32c5_canopen.yaml)
|
||||||
|
files="$f $(grep -oE '!include [^ ]+' "$f" | cut -d' ' -f2)"
|
||||||
|
if grep -qsE '^(nrf|stm32|nxp|renesas|silabs):' $files; then echo "Skipping $f (zephyr fork)"; continue; fi
|
||||||
echo "Validating $f..."
|
echo "Validating $f..."
|
||||||
esphome config "$f"
|
esphome config "$f"
|
||||||
done
|
done
|
||||||
Reference in new issue
Block a user