Skip to content

update to esp-idf v5.5 and add delta action #276

update to esp-idf v5.5 and add delta action

update to esp-idf v5.5 and add delta action #276

Workflow file for this run

name: Build

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

(Line: 41, Col: 19): Unrecognized named-value: 'env'. Located at position 1 within expression: env.IDF_TARGET, (Line: 44, Col: 19): Unrecognized named-value: 'env'. Located at position 1 within expression: env.IDF_TARGET
on:
pull_request:
branches: [main]
paths:
- 'components/**'
- 'main/**'
- 'CMakeLists.txt'
- 'sdkconfig.defaults'
- 'partitions.csv'
- '.github/workflows/build.yml'
push:
branches: [main]
paths:
- 'components/**'
- 'main/**'
- 'CMakeLists.txt'
- 'sdkconfig.defaults'
- 'partitions.csv'
- '.github/workflows/build.yml'
env:
APP_NAME: 'Esp Box Emu'
IDF_TARGET: 'esp32s3'
IDF_VERSION: 'v5.5.1'
IDF_COMPONENT_MANAGER: "1" # whether to enable the component manager or not
FLASH_TOTAL_OVERRIDE: '6291456' # 6MB flash app partition for main app
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
test:
- path: '.'
name: 'box-emu'
target: ${{ env.IDF_TARGET }}
- path: 'components/box-emu/example'
name: 'box-emu/example'
target: ${{ env.IDF_TARGET }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Build Examples
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: ${{ env.IDF_VERSION }}
target: ${{matrix.test.target}}
path: ${{matrix.test.path}}
- name: Determine Size Delta
uses: esp-cpp/esp-idf-size-delta@v1
if: ${{ matrix.test.name == 'box-emu' }}
with:
app_name: ${{ env.APP_NAME }}
app_path: ${{ matrix.test.path }}
idf_target: ${{ env.IDF_TARGET }}
idf_version: ${{ env.IDF_VERSION }}
idf_component_manager: ${{ env.IDF_COMPONENT_MANAGER }}
flash_total_override: ${{ env.FLASH_TOTAL_OVERRIDE }}