removed wifi_sdk copy stage, using new package #134
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Examples | |
on: | |
push: | |
pull_request: | |
jobs: | |
thread_build: | |
name: EFR32 Thread | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/siliconlabssoftware/matter_extension | |
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 simplicity Commander | |
run: | | |
wget https://www.silabs.com/documents/public/software/SimplicityCommander-Linux.zip | |
unzip SimplicityCommander-Linux.zip -d /opt/silabs/simplicity-commander | |
rm SimplicityCommander-Linux.zip | |
FILE=$(find /opt/silabs/simplicity-commander/ -name "*Commander_linux_x86_64*") | |
if [ -n "$FILE" ]; then | |
echo "$FILE" | |
tar -xjvf "$FILE" -C /opt/silabs/simplicity-commander | |
else | |
echo "File not found" | |
fi | |
- 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: 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/lighting-app-thread -p /opt/silabs/simplicity_sdk/extension/matter_extension/slc/sample-app/lighting-app/efr32/lighting-app-thread.slcp --with brd4187c --generator-timeout=180 | |
- name: SLC Build | |
run: | | |
export POST_BUILD_EXE=/opt/silabs/simplicity-commander/commander/commander | |
export ARM_GCC_DIR=${{ steps.arm-none-eabi-gcc-action.outputs.path }}/.. | |
make all -C /opt/silabs/simplicity_sdk/extension/matter_extension/brd4187c/lighting-app-thread -f lighting-app-thread.Makefile -j13 |