CI/pr-size: Build MULTILANG variants
This commit is contained in:
parent
c8347b7e8f
commit
18dc28b148
|
|
@ -26,11 +26,14 @@ avr_ram()
|
||||||
echo "This PR will consume:" > "$MESSAGE"
|
echo "This PR will consume:" > "$MESSAGE"
|
||||||
for TARGET in $@
|
for TARGET in $@
|
||||||
do
|
do
|
||||||
base_bin=$(echo ${BASE_DIR}/build_gen/*/$TARGET)
|
# strip the multilang prefix
|
||||||
|
variant=${TARGET%_MULTILANG}
|
||||||
|
|
||||||
|
base_bin=$(echo ${BASE_DIR}/build_gen/$variant/${variant}_lang_base)
|
||||||
base_flash=$(avr_flash "$base_bin")
|
base_flash=$(avr_flash "$base_bin")
|
||||||
base_ram=$(avr_ram "$base_bin")
|
base_ram=$(avr_ram "$base_bin")
|
||||||
|
|
||||||
pr_bin=$(echo ${PR_DIR}/build_gen/*/$TARGET)
|
pr_bin=$(echo ${PR_DIR}/build_gen/$variant/${variant}_lang_base)
|
||||||
pr_flash=$(avr_flash "$pr_bin")
|
pr_flash=$(avr_flash "$pr_bin")
|
||||||
pr_ram=$(avr_ram "$pr_bin")
|
pr_ram=$(avr_ram "$pr_bin")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ on:
|
||||||
branches: [ MK3, MK3_* ]
|
branches: [ MK3, MK3_* ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TARGETS: "MK3S-EINSy10a_ENGLISH MK3-EINSy10a_ENGLISH"
|
TARGETS: "MK3S_MULTILANG MK3_MULTILANG"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue