mirror of
https://github.com/embedd-actions/esp-idf-ci.git
synced 2024-12-25 16:32:06 +03:00
init
This commit is contained in:
parent
2625575b35
commit
3c8b4d483c
1
Dockerfile
Normal file
1
Dockerfile
Normal file
@ -0,0 +1 @@
|
||||
FROM espressif/idf:latest
|
25
README.md
25
README.md
@ -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
14
action.yml
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user