File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 5656 python-version : ' 3.x'
5757 - name : Build Sketches
5858 run : bash ./.github/scripts/on-push.sh 1 1 # equal and non-zero to trigger PIO
59+
60+ build-esp-idf-component :
61+ name : Build with ESP-IDF ${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
62+ runs-on : ubuntu-20.04
63+ strategy :
64+ matrix :
65+ # The version names here correspond to the versions of espressif/idf Docker image.
66+ # See https://hub.docker.com/r/espressif/idf/tags and
67+ # https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-docker-image.html
68+ # for details.
69+ idf_ver : ["release-v4.4"]
70+ idf_target : ["esp32", "esp32s2", "esp32c3"]
71+ container : espressif/idf:${{ matrix.idf_ver }}
72+ steps :
73+ - name : Check out arduino-esp32 as a component
74+ uses : actions/checkout@v2
75+ with :
76+ submodules : recursive
77+ path : components/arduino-esp32
78+ - name : Build
79+ env :
80+ IDF_TARGET : ${{ matrix.idf_target }}
81+ shell : bash
82+ run : |
83+ . ${IDF_PATH}/export.sh
84+ idf.py create-project test
85+ idf.py -C test -DEXTRA_COMPONENT_DIRS=$PWD/../components build
You can’t perform that action at this time.
0 commit comments