-
Notifications
You must be signed in to change notification settings - Fork 4
59 lines (48 loc) · 2.24 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Build Examples
on:
push:
pull_request:
jobs:
thread_build:
name: EFR32 Thread
runs-on: ubuntu-latest
container:
image: ghcr.io/siliconlabssoftware/matter_extension:test_arm_commander
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
submodules_exclude: |
third_party/simplicity_sdk
third_party/wifi_Sdk
third_party/matter_private
# TODO: don't check out simplicity sdk and wifi sdk as a submodule
# - name: Jfrog CLI setup
# uses: jfrog/setup-jfrog-cli@v4
# with:
# version: latest
- name: Install ZAP
run: |
wget /~https://github.com/project-chip/zap/releases/download/v2024.08.27/zap-linux-x64.zip
unzip zap-linux-x64.zip -d /opt/silabs/zap-linux-x64
rm zap-linux-x64.zip
- run: pwd
- run: ls
- name: Move extension to its proper location
run: |
mkdir -p ${SISDK_ROOT}/extension/matter_extension
rsync -av ./* ${SISDK_ROOT}/extension/matter_extension --exclude sisdk --exclude ci --exclude jenkins --exclude Jenkinsfile --exclude third_party/matter_sdk/third_party --exclude third_party/simplicity_sdk --exclude third_party/wifi_sdk --exclude third_party/wiseconnect-wifi-bt-sdk
# TODO unnecessary copy of matter_extension to simplicity_sdk
- name: SLC Generate
run: |
export STUDIO_ADAPTER_PACK_PATH=/opt/silabs/zap-linux-x64
slc configuration --sdk /opt/silabs/simplicity_sdk
slc signature trust --extension-path "/opt/silabs/simplicity_sdk/extension/matter_extension/"
slc signature trust --sdk /opt/silabs/simplicity_sdk
slc generate --daemon -d /opt/silabs/simplicity_sdk/extension/matter_extension/brd4187c/zigbee-matter-light -p /opt/silabs/simplicity_sdk/extension/matter_extension/slc/sample-app/zigbee-matter-light/efr32/zigbee-matter-light.slcp --with brd4187c --generator-timeout=180
- name: SLC Build
run: |
make all -C /opt/silabs/simplicity_sdk/extension/matter_extension/brd4187c/zigbee-matter-light -f zigbee-matter-light.Makefile -j13