File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -102,3 +102,41 @@ jobs:
102
102
103
103
- run : PLATFORMIO_SRC_DIR=examples/Client PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
104
104
- run : PLATFORMIO_SRC_DIR=examples/FetchWebsite PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
105
+
106
+ esp-idf :
107
+ name : Build with ESP-IDF ${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
108
+ runs-on : ubuntu-latest
109
+ strategy :
110
+ fail-fast : false
111
+ matrix :
112
+ # The version names here correspond to the versions of espressif/idf Docker image.
113
+ # See https://hub.docker.com/r/espressif/idf/tags and
114
+ # https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-docker-image.html
115
+ # for details.
116
+ idf_ver : ["release-v5.4"]
117
+ idf_target :
118
+ [
119
+ " esp32" ,
120
+ " esp32s2" ,
121
+ " esp32s3" ,
122
+ " esp32c2" ,
123
+ " esp32c3" ,
124
+ " esp32c6" ,
125
+ " esp32h2" ,
126
+ " esp32p4"
127
+ ]
128
+ container : espressif/idf:${{ matrix.idf_ver }}
129
+ steps :
130
+ - name : Check out arduino-esp32 as a component
131
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
132
+ with :
133
+ submodules : recursive
134
+ path : components/arduino-esp32
135
+
136
+ - name : Build
137
+ env :
138
+ IDF_TARGET : ${{ matrix.idf_target }}
139
+ shell : bash
140
+ run : |
141
+ . ${IDF_PATH}/export.sh
142
+ idf.py -C idf_component_examples/client -DEXTRA_COMPONENT_DIRS=$PWD/components build
You can’t perform that action at this time.
0 commit comments