-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (40 loc) · 1.35 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
name: Build Examples
on:
push:
pull_request:
jobs:
thread_build:
name: EFR32 Thread
runs-on: silabs-internal
container:
image: ghcr.io/siliconlabssoftware/simplicity_sdk_matter
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
- name: Add safe directory
run: git config --global --add safe.directory /__w/matter_extension/matter_extension/third_party/QR-Code-generator
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
# - name: Jfrog CLI setup
# uses: jfrog/setup-jfrog-cli@v4
# with:
# version: latest
- name: Install Arm GNU Toolchain (arm-none-eabi-gcc)
uses: carlosperate/arm-none-eabi-gcc-action@v1
id: arm-none-eabi-gcc-action
with:
release: '12.2.Rel1'
- 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: Build
run: |
export ARM_GCC_DIR=${{ steps.arm-none-eabi-gcc-action.outputs.path }}/..
export STUDIO_ADAPTER_PACK_PATH=/opt/silabs/zap-linux-x64
./slc/build.sh slc/sample-app/lighting-app/efr32/lighting-app-thread.slcp brd4187c