ci: build RCP firmware on push and pull request #1
This file contains hidden or 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 Firmware | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - firmware/** | |
| - .github/workflows/build.yml | |
| pull_request: | |
| paths: | |
| - firmware/** | |
| - .github/workflows/build.yml | |
| workflow_dispatch: | |
| concurrency: | |
| group: build-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| # Builds firmware/rcp for esp32h2 using the tracked sdkconfig.defaults — | |
| # the same configuration flashed by scripts/build_rcp.sh. | |
| - name: Build RCP firmware (esp32h2) | |
| uses: espressif/esp-idf-ci-action@v1 | |
| with: | |
| esp_idf_version: release-v6.0 | |
| target: esp32h2 | |
| path: firmware/rcp |