@@ -29,28 +29,80 @@ 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
51- allow_fail : false
52- # - idf_ver: "latest"
53- # allow_fail: true
38+ - idf_ver : " release-v6.0"
39+ parallel_count : 5
40+ parallel_index : 1
41+ - idf_ver : " release-v6.0"
42+ parallel_count : 5
43+ parallel_index : 2
44+ - idf_ver : " release-v6.0"
45+ parallel_count : 5
46+ parallel_index : 3
47+ - idf_ver : " release-v6.0"
48+ parallel_count : 5
49+ parallel_index : 4
50+ - idf_ver : " release-v6.0"
51+ parallel_count : 5
52+ parallel_index : 5
53+ - idf_ver : " release-v5.1"
54+ parallel_count : 2
55+ parallel_index : 1
56+ - idf_ver : " release-v5.1"
57+ parallel_count : 2
58+ parallel_index : 2
59+ - idf_ver : " release-v5.2"
60+ parallel_count : 2
61+ parallel_index : 1
62+ - idf_ver : " release-v5.2"
63+ parallel_count : 2
64+ parallel_index : 2
65+ - idf_ver : " release-v5.3"
66+ parallel_count : 2
67+ parallel_index : 1
68+ - idf_ver : " release-v5.3"
69+ parallel_count : 2
70+ parallel_index : 2
71+ - idf_ver : " release-v5.4"
72+ parallel_count : 2
73+ parallel_index : 1
74+ - idf_ver : " release-v5.4"
75+ parallel_count : 2
76+ parallel_index : 2
77+ - idf_ver : " release-v5.5"
78+ parallel_count : 2
79+ parallel_index : 1
80+ - idf_ver : " release-v5.5"
81+ parallel_count : 2
82+ parallel_index : 2
83+ # build:
84+ # # continue-on-error: ${{ github.event_name == 'pull_request' && matrix.allow_fail == true }}
85+ # env:
86+ # component_manager_ver: "2.2.*"
87+ # idf_build_apps_ver: "2.10.1"
88+ # strategy:
89+ # # fail-fast: false
90+ # matrix:
91+ # idf_ver:
92+ # # - "latest"
93+ # - "release-v6.0"
94+ # - "release-v5.5"
95+ # - "release-v5.4"
96+ # - "release-v5.3"
97+ # - "release-v5.2"
98+ # - "release-v5.1"
99+ # parallel_index: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
100+ # include:
101+ # # Default values for all versions
102+ # - parallel_count: 10
103+ # allow_fail: false
104+ # # - idf_ver: "latest"
105+ # # allow_fail: true
54106 runs-on : ubuntu-latest
55107 container : espressif/idf:${{ matrix.idf_ver }}
56108 steps :
78130 echo "Files changed: "${{env.ALL_CHANGED_FILES}}
79131 # idf-build-apps find ${{env.ALL_CHANGED_FILES}}
80132 # 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
133+ 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
82134
83135 # Warning, if failed with master
84136 - name : Warn if latest build failed
0 commit comments