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

This commit is contained in:
Andreas Kuster authored and Benoit Blanchon committed 2021-06-30 13:34:59 +02:00
1 parent cb2c029e57
commit 52e856fa6f
7 files changed
+62 -1

No files matched your search

+26
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