File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 56
56
python-version: '3.x'
57
57
- name: Build Sketches
58
58
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
+ - uses: actions/checkout@v1
74
+ with:
75
+ submodules: recursive
76
+ path: components/arduino-esp32
77
+ - name: Build
78
+ env:
79
+ IDF_TARGET: ${{ matrix.idf_target }}
80
+ shell: bash
81
+ run: |
82
+ . ${IDF_PATH}/export.sh
83
+ idf.py create-project --path $PWD test
84
+ idf.py build
You can’t perform that action at this time.
0 commit comments