@@ -29,27 +29,34 @@ concurrency:
2929
3030jobs :
3131 build :
32+ continue-on-error : ${{ matrix.continue_on_error == true }}
3233 env :
3334 component_manager_ver : " 2.2.*"
3435 idf_build_apps_ver : " 2.10.1"
3536 strategy :
37+ fail-fast : false
3638 matrix :
3739 include :
3840 - idf_ver : " latest"
3941 parallel_count : 5
4042 parallel_index : 1
43+ continue_on_error : true
4144 - idf_ver : " latest"
4245 parallel_count : 5
4346 parallel_index : 2
47+ continue_on_error : true
4448 - idf_ver : " latest"
4549 parallel_count : 5
4650 parallel_index : 3
51+ continue_on_error : true
4752 - idf_ver : " latest"
4853 parallel_count : 5
4954 parallel_index : 4
55+ continue_on_error : true
5056 - idf_ver : " latest"
5157 parallel_count : 5
5258 parallel_index : 5
59+ continue_on_error : true
5360 - idf_ver : " release-v5.1"
5461 parallel_count : 2
5562 parallel_index : 1
93100 separator : ' ;' # idf-build-apps expects files seprated with semicolon
94101
95102 - name : Build ESP-BSP applications
103+ continue-on-error : ${{ matrix.continue_on_error == true }}
96104 if : always()
97105 shell : bash
98106 env :
@@ -108,6 +116,14 @@ jobs:
108116 idf-build-apps find ${{env.ALL_CHANGED_FILES}}
109117 idf-build-apps build --parallel-count ${{ matrix.parallel_count }} --parallel-index ${{ matrix.parallel_index }} ${{env.ALL_CHANGED_FILES}} --collect-app-info build_info_${{ matrix.idf_ver }}_${{ matrix.parallel_index }}.json
110118
119+ # Warning, if failed with master
120+ - name : Warn if latest build failed
121+ if : ${{ failure() && matrix.continue_on_error == true }}
122+ run : |
123+ echo "::warning::Build failed for idf_ver=${{ matrix.idf_ver }} (ignored because it's 'latest')"
124+ echo "### ⚠️ Build failed for idf_ver=${{ matrix.idf_ver }}" >> $GITHUB_STEP_SUMMARY
125+ echo "This failure was ignored (continue-on-error enabled)." >> $GITHUB_STEP_SUMMARY
126+
111127 - uses : actions/upload-artifact@v4
112128 if : github.repository_owner == 'espressif' && needs.prepare.outputs.build_only == '0'
113129 with :
0 commit comments