CI: added ESP-IDF component build (closes #1599)

This commit is contained in:
Andreas Kuster
2021-06-25 13:49:11 +02:00
committed by Benoit Blanchon
parent cb2c029e57
commit 52e856fa6f
7 changed files with 62 additions and 1 deletions

View File

@@ -449,3 +449,29 @@ jobs:
with:
name: Single headers
path: ${{ steps.amalgamate.outputs.filename }}
esp-idf:
needs: gcc
name: ESP-IDF
runs-on: ubuntu-latest
steps:
- name: Setup cache
uses: actions/cache@v2
with:
path: ~/.espressif
key: ${{ runner.os }}-esp-idf
- name: Checkout ArduinoJson
uses: actions/checkout@v2
- name: Checkout ESP-IDF
uses: actions/checkout@v2
with:
repository: espressif/esp-idf
path: esp-idf
submodules: true
- name: Install ESP-IDF
run: ./esp-idf/install.sh
- name: Build example
run: |
source esp-idf/export.sh
cd extras/ci/espidf
idf.py build