File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 78
78
python-version : ' 3.x'
79
79
- name : Build Sketches
80
80
run : bash ./.github/scripts/on-push.sh 1 1 # equal and non-zero to trigger PIO
81
+
82
+ build-esp-idf-component :
83
+ name : Build with ESP-IDF ${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
84
+ runs-on : ubuntu-20.04
85
+ strategy :
86
+ matrix :
87
+ # The version names here correspond to the versions of espressif/idf Docker image.
88
+ # See https://hub.docker.com/r/espressif/idf/tags and
89
+ # https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-docker-image.html
90
+ # for details.
91
+ idf_ver : ["release-v4.4"]
92
+ idf_target : ["esp32", "esp32s2", "esp32c3"]
93
+ container : espressif/idf:${{ matrix.idf_ver }}
94
+ steps :
95
+ - name : Check out arduino-esp32 as a component
96
+ uses : actions/checkout@v2
97
+ with :
98
+ submodules : recursive
99
+ path : components/arduino-esp32
100
+ - name : Build
101
+ env :
102
+ IDF_TARGET : ${{ matrix.idf_target }}
103
+ shell : bash
104
+ run : |
105
+ . ${IDF_PATH}/export.sh
106
+ idf.py create-project test
107
+ idf.py -C test -DEXTRA_COMPONENT_DIRS=$PWD/components build
You can’t perform that action at this time.
0 commit comments