This commit is contained in:
Sergey Ladanov 2023-09-19 15:33:47 +03:00
parent 2625575b35
commit 3c8b4d483c
3 changed files with 38 additions and 2 deletions

1
Dockerfile Normal file
View File

@ -0,0 +1 @@
FROM espressif/idf:latest

View File

@ -1,2 +1,23 @@
# esp-idf-ci
Building ESP-IDF projects
## Пример настройки CI/CD
```
jobs:
build:
name: Building project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: make
uses: embedd-actions/esp-idf-ci@latest
with:
IDF_TARGET: esp32
```
## Доступные версии:
```
latest
```

14
action.yml Normal file
View File

@ -0,0 +1,14 @@
name: 'ESP-IDF build'
description: 'Building ESP-IDF projects'
inputs:
IDF_TARGET:
description: 'Target device'
required: true
default: esp32
runs:
using: 'docker'
image: 'Dockerfile'
args:
- idf.py
- build