File tree Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Original file line number Diff line number Diff line change 3232 BUILDSYSTEM_TOOLCHAIN+=("cmake arm-iar")
3333 fi
3434
35- RESOURCE_LARGE='["nrf", "imxrt", "stm32f4", "stm32h7 stm32h7rs"]'
36-
3735 gen_build_entry() {
3836 local build_system="$1"
3937 local toolchain="$2"
6159 FAMILY=$(echo $MATRIX_JSON | jq -r ".\"$toolchain\"")
6260 echo "FAMILY_${toolchain}=$FAMILY"
6361
64- # FAMILY_LARGE = FAMILY - RESOURCE_LARGE
65- # Separate large from medium+ resources
66- FAMILY_LARGE=$(jq -n --argjson family "$FAMILY" --argjson resource "$RESOURCE_LARGE" '$family | map(select(IN($resource[])))')
67- FAMILY=$(jq -n --argjson family "$FAMILY" --argjson resource "$RESOURCE_LARGE" '$family | map(select(IN($resource[]) | not))')
68-
69- if [[ $toolchain == esp-idf || $toolchain == arm-iar ]]; then
70- gen_build_entry "$build_system" "$toolchain" "$FAMILY" "large"
71- else
72- gen_build_entry "$build_system" "$toolchain" "$FAMILY" "medium+"
73-
74- # add large resources if available
75- if [ "$(echo $FAMILY_LARGE | jq 'length')" -gt 0 ]; then
76- gen_build_entry "$build_system" "$toolchain" "$FAMILY_LARGE" "large"
77- fi
78- fi
62+ gen_build_entry "$build_system" "$toolchain" "$FAMILY" "large"
7963 done
8064
8165 - continuation/continue :
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ commands:
104104
105105 - run :
106106 name : Build
107+ no_output_timeout : 20m
107108 command : |
108109 if [ << parameters.toolchain >> == esp-idf ]; then
109110 docker run --rm -v $PWD:/project -w /project espressif/idf:v5.3.2 python tools/build.py << parameters.family >>
@@ -127,7 +128,7 @@ jobs:
127128 parameters :
128129 resource_class :
129130 type : string
130- default : medium+
131+ default : large
131132 build-system :
132133 type : string
133134 toolchain :
You can’t perform that action at this time.
0 commit comments