File tree Expand file tree Collapse file tree 3 files changed +66
-31
lines changed
Expand file tree Collapse file tree 3 files changed +66
-31
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 build :
1414 name : Build Lighting-App variations
15- runs-on : ubuntu-latest
16-
17- container :
18- image : ghcr.io/project-chip/chip-build-efr32:95
19-
20- strategy :
21- matrix :
22- platform : [mg24, mgm24, mg26, siwx]
23-
24- steps :
25- - name : Checkout
26- uses : actions/checkout@v4
27-
28- - name : Checkout submodules & Bootstrap
29- uses : ./.github/actions/checkout-submodules-and-bootstrap
30- with :
31- platform : silabs_docker
32- bootstrap-log-name :
33- bootstrap-logs-lighting-app-${{ matrix.platform }}
34-
35- - name : Build Lighting-App configurations
36- uses : SiliconLabsSoftware/matter-gn-build-action@v1.0.0
37- with :
38- json-file-path : >
39- ${{ matrix.platform == 'mg24' && './.github/silabs-builds-mg24.json' ||
40- matrix.platform == 'mgm24' && './.github/silabs-builds-mgm24.json' ||
41- matrix.platform == 'mg26' && './.github/silabs-builds-mg26.json' ||
42- matrix.platform == 'siwx' && './.github/silabs-builds-siwx.json' }}
43- example-app : " lighting-app"
44- build-script : " ./scripts/examples/gn_silabs_example.sh"
45- output-directory : " ./out/lighting-app"
15+ uses : ./.github/workflows/common-build.yaml
16+ with :
17+ example-app : " lighting-app"
18+ output-directory : " ./out/lighting-app"
Original file line number Diff line number Diff line change 1+ name : Build Lock App
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+ - " release_*"
11+
12+ jobs :
13+ build :
14+ name : Build Lock-App variations
15+ uses : ./.github/workflows/common-build.yaml
16+ with :
17+ example-app : " lock-app"
18+ output-directory : " ./out/lock-app"
Original file line number Diff line number Diff line change 1+ name : Common Build
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ example-app :
7+ required : true
8+ type : string
9+ output-directory :
10+ required : true
11+ type : string
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+
17+ container :
18+ image : ghcr.io/project-chip/chip-build-efr32:95
19+
20+ strategy :
21+ matrix :
22+ platform : [mg24, mgm24, mg26, siwx]
23+
24+ steps :
25+ - name : Checkout
26+ uses : actions/checkout@v4
27+
28+ - name : Checkout submodules & Bootstrap
29+ uses : ./.github/actions/checkout-submodules-and-bootstrap
30+ with :
31+ platform : silabs_docker
32+ bootstrap-log-name : bootstrap-logs-${{ inputs.example-app }}-${{ matrix.platform }}
33+
34+ - name : Build ${{ inputs.example-app }} configurations
35+ uses : SiliconLabsSoftware/matter-gn-build-action@v1.1.0
36+ with :
37+ json-file-path : >
38+ ${{ matrix.platform == 'mg24' && './.github/silabs-builds-mg24.json' ||
39+ matrix.platform == 'mgm24' && './.github/silabs-builds-mgm24.json' ||
40+ matrix.platform == 'mg26' && './.github/silabs-builds-mg26.json' ||
41+ matrix.platform == 'siwx' && './.github/silabs-builds-siwx.json' }}
42+ example-app : ${{ inputs.example-app }}
43+ build-script : " ./scripts/examples/gn_silabs_example.sh"
44+ output-directory : ${{ inputs.output-directory }}
You can’t perform that action at this time.
0 commit comments