Sandiep / ESP_IDF_Build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP_IDF_Build

GitHub Action for ESP32 CI

Usage

Workflow definition

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - name: Checkout repo
      uses: actions/checkout@v3
      with:
        submodules: 'recursive'
    - name: Build Action for ESP-IDF
      uses: Sandiep/ESP_IDF_Build@V1
      with:
        esp_idf_version: v4.4
        target: esp32
        path: 'examples/xyz'

Parameters

path

Path to the project to be built

esp_idf_version

The version of ESP-IDF for the action. Default value latest.

It must be one of the tags from Docker Hub

More information about supported versions of ESP-IDF

target

Type of ESP32 to build for. Default value esp32.

The value must be one of the supported ESP-IDF targets as documented here

command

Optional: Specify the command that will run as part of this GitHub build step.

Default: idf.py build

Overriding this is useful for running other commands via github actions. Example:

   command: esptool.py merge_bin -o ../your_final_output.bin @flash_args

About

License:MIT License


Languages

Language:PowerShell 72.6%Language:Dockerfile 15.0%Language:Shell 12.4%