# Copyright (c) 2020 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Build example - EFR32

on:
  push:
    branches-ignore:
      - 'dependabot/**'
  pull_request:
  merge_group:

concurrency:
  group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
  cancel-in-progress: true

env:
  CHIP_NO_LOG_TIMESTAMPS: true

jobs:
  efr32:
    name: EFR32

    env:
      SILABS_BOARD: BRD4187C
      BUILD_TYPE: gn_efr32

    runs-on: ubuntu-latest
    if: github.actor != 'restyled-io[bot]'

    container:
      image: ghcr.io/project-chip/chip-build-efr32:81
      volumes:
        - "/tmp/bloat_reports:/tmp/bloat_reports"
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Checkout submodules & Bootstrap
        uses: ./.github/actions/checkout-submodules-and-bootstrap
        with:
          platform: silabs_docker

      - name: Set up environment for size reports
        uses: ./.github/actions/setup-size-reports
        if: ${{ !env.ACT }}
        with:
          gh-context: ${{ toJson(github) }}

      - name: Test SLC gen
        timeout-minutes: 30
        run: |
          scripts/examples/gn_silabs_example.sh examples/lighting-app/silabs ./out/light-app BRD4187C --slc_generate --docker
          rm -rf ./out/
      - name: Build some BRD4187C variants (1)
        run: |
          ./scripts/run_in_build_env.sh \
             "./scripts/build/build_examples.py \
                --enable-flashbundle \
                --target efr32-brd4187c-thermostat-openthread-mtd \
                --target efr32-brd4187c-switch-shell-use-ot-coap-lib \
                --target efr32-brd4187c-unit-test \
                build \
                --copy-artifacts-to out/artifacts \
             "
      - name: Clean out build output
        run: rm -rf ./out
      - name: Build some BRD4187C variants (2)
        run: |
          ./scripts/run_in_build_env.sh \
             "./scripts/build/build_examples.py \
                --enable-flashbundle \
                --target efr32-brd4187c-light-use-ot-lib \
                --target efr32-brd4187c-pump \
                --target efr32-brd4187c-lock-shell-heap-monitoring \
                build \
                --copy-artifacts-to out/artifacts \
             "
      - name: Clean out build output
        run: rm -rf ./out
      - name: Build BRD4187C variants (3)
        run: |
          ./scripts/run_in_build_env.sh \
             "./scripts/build/build_examples.py \
                --enable-flashbundle \
                --target efr32-brd4187c-window-covering-additional-data-advertising \
                --target efr32-brd4187c-light-rpc \
                build \
                --copy-artifacts-to out/artifacts \
             "
      - name: Prepare some bloat report from the previous builds
        run: |
          .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
             efr32 BRD4187C lighting-app \
             out/efr32-brd4187c-light-rpc/matter-silabs-lighting-example.out \
             /tmp/bloat_reports/
          .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py  \
             efr32 BRD4187C window-app \
             out/efr32-brd4187c-window-covering-additional-data-advertising/matter-silabs-window-example.out \
             /tmp/bloat_reports/
      - name: Clean out build output
        run: rm -rf ./out
      - name: Build BRD4338A WiFi Soc variants
        run: |
          ./scripts/run_in_build_env.sh \
             "./scripts/build/build_examples.py \
                --enable-flashbundle \
                --target efr32-brd4338a-light-skip-rps-generation \
                --target efr32-brd4338a-lock-skip-rps-generation \
                build \
                --copy-artifacts-to out/artifacts \
             "
      - name: Prepare bloat report for brd4338a lock app
        run: |
          .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
            efr32 BRD4338a lock-app \
            out/efr32-brd4338a-lock-skip-rps-generation/matter-silabs-lock-example.out \
            /tmp/bloat_reports/
      - name: Clean out build output
        run: rm -rf ./out
      - name: Build BRD2605A WiFi Soc variants
        run: |
          ./scripts/run_in_build_env.sh \
             "./scripts/build/build_examples.py \
                --enable-flashbundle \
                --target efr32-brd2605a-light-skip-rps-generation \
                --target efr32-brd2605a-lock-skip-rps-generation \
                build \
                --copy-artifacts-to out/artifacts \
             "
      - name: Prepare bloat report for brd2605a lock app
        run: |
          .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
            efr32 BRD2605a lock-app \
            out/efr32-brd2605a-lock-skip-rps-generation/matter-silabs-lock-example.out \
            /tmp/bloat_reports/
      - name: Clean out build output
        run: rm -rf ./out
      - name: Build EFR32 with WiFi NCP
        run: |
          ./scripts/run_in_build_env.sh \
            "./scripts/build/build_examples.py \
                --enable-flashbundle \
                --target efr32-brd4187c-lock-wifi-siwx917 \
                --target efr32-brd4187c-light-wifi-rs9116 \
                --target efr32-brd4187c-lock-wifi-wf200 \
                build \
                --copy-artifacts-to out/artifacts \
            "
      - name: Clean out build output
        run: rm -rf ./out
      - name: Uploading Size Reports
        uses: ./.github/actions/upload-size-reports
        if: ${{ !env.ACT }}
        with:
          platform-name: EFR32
