diff options
| author | hathach <[email protected]> | 2025-11-17 22:47:12 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-11-17 23:03:51 +0700 |
| commit | 117350222301bc0c9f70104e8a1c4080c34810f2 (patch) | |
| tree | 46ba28f8398749bea0cb6770769d3a02f524d3c8 | |
| parent | be9d1973ac4c30fedd24b8199fd4dee5c842e2ef (diff) | |
circcleci run all job with large, also try to fix context deadline exceeded with espressif build
| -rw-r--r-- | .circleci/config.yml | 18 | ||||
| -rw-r--r-- | .circleci/config2.yml | 3 |
2 files changed, 3 insertions, 18 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 3342cbc65..580f5fe2e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,8 +32,6 @@ jobs: BUILDSYSTEM_TOOLCHAIN+=("cmake arm-iar") fi - RESOURCE_LARGE='["nrf", "imxrt", "stm32f4", "stm32h7 stm32h7rs"]' - gen_build_entry() { local build_system="$1" local toolchain="$2" @@ -61,21 +59,7 @@ jobs: FAMILY=$(echo $MATRIX_JSON | jq -r ".\"$toolchain\"") echo "FAMILY_${toolchain}=$FAMILY" - # FAMILY_LARGE = FAMILY - RESOURCE_LARGE - # Separate large from medium+ resources - FAMILY_LARGE=$(jq -n --argjson family "$FAMILY" --argjson resource "$RESOURCE_LARGE" '$family | map(select(IN($resource[])))') - FAMILY=$(jq -n --argjson family "$FAMILY" --argjson resource "$RESOURCE_LARGE" '$family | map(select(IN($resource[]) | not))') - - if [[ $toolchain == esp-idf || $toolchain == arm-iar ]]; then - gen_build_entry "$build_system" "$toolchain" "$FAMILY" "large" - else - gen_build_entry "$build_system" "$toolchain" "$FAMILY" "medium+" - - # add large resources if available - if [ "$(echo $FAMILY_LARGE | jq 'length')" -gt 0 ]; then - gen_build_entry "$build_system" "$toolchain" "$FAMILY_LARGE" "large" - fi - fi + gen_build_entry "$build_system" "$toolchain" "$FAMILY" "large" done - continuation/continue: diff --git a/.circleci/config2.yml b/.circleci/config2.yml index bd2a7d02a..ab0fd7ba1 100644 --- a/.circleci/config2.yml +++ b/.circleci/config2.yml @@ -104,6 +104,7 @@ commands: - run: name: Build + no_output_timeout: 20m command: | if [ << parameters.toolchain >> == esp-idf ]; then docker run --rm -v $PWD:/project -w /project espressif/idf:v5.3.2 python tools/build.py << parameters.family >> @@ -127,7 +128,7 @@ jobs: parameters: resource_class: type: string - default: medium+ + default: large build-system: type: string toolchain: |
