Skip to content

georgik/esp-idf-ci-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp-idf-ci-action

GitHub Action for ESP32 CI

** Deprecated **

Repository moved to https://github.com/espressif/esp-idf-ci-action

Example repo with GitHub Action

Usage

Workflow definition

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - name: Checkout repo
      uses: actions/checkout@v2
      with:
        submodules: 'recursive'
    - name: esp-idf build
      uses: georgik/esp-idf-ci-action@latest
      with:
        path: 'esp32-s2-hmi-devkit-1/examples/smart-panel'

How to specify a custom version of ESP-IDF

GitHub does not support the specification of the Docker image tag as a variable. It's the official limitation. To select the specific version of ESP-IDF you can reference a specific version of GitHub action:

uses: georgik/esp-idf-ci-action@latest
uses: georgik/[email protected]
uses: georgik/[email protected]

Each of the tags marks the corresponding branch of this repository.

List of available tags

List based on: https://hub.docker.com/r/espressif/idf/tags

latest
release-v4.3
release-v4.2
release-v4.1
release-v4.0
release-v3.3
v4.2.1
v4.2
v4.1.1
v4.1
v4.0.2
v3.3.4
v3.3.3
v3.3.2
v3.3.1

More information about supported versions of ESP-IDF: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/versions.html#support-periods

Add a new Docker tag for the action

Docker image tags from https://hub.docker.com/r/espressif/idf/tags. Each Docker tag is stored in branch with prefix "branch-" and has tag same as in Docker.

The new branch can be added by following the PowerShell script:

./Add-IdfTag.ps1 -IdfTag "v3.3.3"

About

GitHub Action for ESP32 CI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 72.2%
  • Dockerfile 15.2%
  • Shell 12.6%