@@ -29,28 +29,88 @@ concurrency:
2929
3030jobs :
3131 build :
32- # continue-on-error: ${{ github.event_name == 'pull_request' && matrix.allow_fail == true }}
3332 env :
3433 component_manager_ver : " 2.2.*"
3534 idf_build_apps_ver : " 2.10.1"
3635 strategy :
37- # fail-fast: false
3836 matrix :
39- idf_ver :
40- # - "latest"
41- - " release-v6.0"
42- - " release-v5.5"
43- - " release-v5.4"
44- - " release-v5.3"
45- - " release-v5.2"
46- - " release-v5.1"
47- parallel_index : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
4837 include :
49- # Default values for all versions
50- - parallel_count : 10
38+ - idf_ver : " latest"
39+ parallel_count : 2
40+ parallel_index : 1
41+ allow_fail : false
42+ - idf_ver : " latest"
43+ parallel_count : 2
44+ parallel_index : 2
5145 allow_fail : false
52- # - idf_ver: "latest"
53- # allow_fail: true
46+ - idf_ver : " release-v6.0"
47+ parallel_count : 5
48+ parallel_index : 1
49+ - idf_ver : " release-v6.0"
50+ parallel_count : 5
51+ parallel_index : 2
52+ - idf_ver : " release-v6.0"
53+ parallel_count : 5
54+ parallel_index : 3
55+ - idf_ver : " release-v6.0"
56+ parallel_count : 5
57+ parallel_index : 4
58+ - idf_ver : " release-v6.0"
59+ parallel_count : 5
60+ parallel_index : 5
61+ - idf_ver : " release-v5.1"
62+ parallel_count : 2
63+ parallel_index : 1
64+ - idf_ver : " release-v5.1"
65+ parallel_count : 2
66+ parallel_index : 2
67+ - idf_ver : " release-v5.2"
68+ parallel_count : 2
69+ parallel_index : 1
70+ - idf_ver : " release-v5.2"
71+ parallel_count : 2
72+ parallel_index : 2
73+ - idf_ver : " release-v5.3"
74+ parallel_count : 2
75+ parallel_index : 1
76+ - idf_ver : " release-v5.3"
77+ parallel_count : 2
78+ parallel_index : 2
79+ - idf_ver : " release-v5.4"
80+ parallel_count : 2
81+ parallel_index : 1
82+ - idf_ver : " release-v5.4"
83+ parallel_count : 2
84+ parallel_index : 2
85+ - idf_ver : " release-v5.5"
86+ parallel_count : 2
87+ parallel_index : 1
88+ - idf_ver : " release-v5.5"
89+ parallel_count : 2
90+ parallel_index : 2
91+ # build:
92+ # # continue-on-error: ${{ github.event_name == 'pull_request' && matrix.allow_fail == true }}
93+ # env:
94+ # component_manager_ver: "2.2.*"
95+ # idf_build_apps_ver: "2.10.1"
96+ # strategy:
97+ # # fail-fast: false
98+ # matrix:
99+ # idf_ver:
100+ # # - "latest"
101+ # - "release-v6.0"
102+ # - "release-v5.5"
103+ # - "release-v5.4"
104+ # - "release-v5.3"
105+ # - "release-v5.2"
106+ # - "release-v5.1"
107+ # parallel_index: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
108+ # include:
109+ # # Default values for all versions
110+ # - parallel_count: 10
111+ # allow_fail: false
112+ # # - idf_ver: "latest"
113+ # # allow_fail: true
54114 runs-on : ubuntu-latest
55115 container : espressif/idf:${{ matrix.idf_ver }}
56116 steps :
78138 echo "Files changed: "${{env.ALL_CHANGED_FILES}}
79139 # idf-build-apps find ${{env.ALL_CHANGED_FILES}}
80140 # 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 || echo "BUILD_FAILED=true" >> $GITHUB_ENV
81- idf-build-apps build --parallel-count ${{ matrix.parallel_count }} --parallel-index ${{ matrix.parallel_index }} --collect-app-info build_info_${{ matrix.idf_ver }}_${{ matrix.parallel_index }}.json || echo "BUILD_FAILED=true" >> $GITHUB_ENV
141+ idf-build-apps build --parallel-count ${{ matrix.parallel_count }} --parallel-index ${{ matrix.parallel_index }} --collect-app-info build_info_${{ matrix.idf_ver }}_${{ matrix.parallel_index }}.json
82142
83143 # Warning, if failed with master
84144 - name : Warn if latest build failed
0 commit comments