18
18
outputs :
19
19
arm-boards : ${{ steps.set-matrix.outputs.arm-boards }}
20
20
riscv-boards : ${{ steps.set-matrix.outputs.riscv-boards }}
21
- xtensa -boards : ${{ steps.set-matrix.outputs.xtensa -boards }}
21
+ espressif -boards : ${{ steps.set-matrix.outputs.espressif -boards }}
22
22
steps :
23
23
- name : Dump GitHub context
24
24
env :
@@ -322,14 +322,14 @@ jobs:
322
322
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
323
323
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
324
324
if : (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
325
- build-xtensa :
325
+ build-espressif :
326
326
runs-on : ubuntu-20.04
327
327
needs : test
328
328
strategy :
329
329
fail-fast : false
330
330
matrix :
331
- board : ${{ fromJSON(needs.test.outputs.xtensa -boards) }}
332
- if : ${{ needs.test.outputs.xtensa -boards != '[]' }}
331
+ board : ${{ fromJSON(needs.test.outputs.espressif -boards) }}
332
+ if : ${{ needs.test.outputs.espressif -boards != '[]' }}
333
333
334
334
steps :
335
335
- name : Set up Python 3.8
@@ -348,28 +348,28 @@ jobs:
348
348
id : idf-cache
349
349
with :
350
350
path : ${{ github.workspace }}/.idf_tools
351
- key : ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2 /esp-idf/HEAD') }}-20210716
351
+ key : ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/espressif /esp-idf/HEAD') }}-20210716
352
352
- name : Clone IDF submodules
353
353
run : |
354
354
(cd $IDF_PATH && git submodule update --init)
355
355
env :
356
- IDF_PATH : ${{ github.workspace }}/ports/esp32s2 /esp-idf
356
+ IDF_PATH : ${{ github.workspace }}/ports/espressif /esp-idf
357
357
- name : Install IDF tools
358
358
run : |
359
359
$IDF_PATH/tools/idf_tools.py --non-interactive install required
360
360
$IDF_PATH/tools/idf_tools.py --non-interactive install cmake
361
361
$IDF_PATH/tools/idf_tools.py --non-interactive install-python-env
362
362
rm -rf $IDF_TOOLS_PATH/dist
363
363
env :
364
- IDF_PATH : ${{ github.workspace }}/ports/esp32s2 /esp-idf
364
+ IDF_PATH : ${{ github.workspace }}/ports/espressif /esp-idf
365
365
IDF_TOOLS_PATH : ${{ github.workspace }}/.idf_tools
366
366
- name : Install CircuitPython deps
367
367
run : |
368
368
source $IDF_PATH/export.sh
369
369
pip install -r requirements-dev.txt
370
370
sudo apt-get install -y gettext ninja-build
371
371
env :
372
- IDF_PATH : ${{ github.workspace }}/ports/esp32s2 /esp-idf
372
+ IDF_PATH : ${{ github.workspace }}/ports/espressif /esp-idf
373
373
IDF_TOOLS_PATH : ${{ github.workspace }}/.idf_tools
374
374
- name : Versions
375
375
run : |
@@ -381,7 +381,7 @@ jobs:
381
381
cmake --version
382
382
shell : bash
383
383
env :
384
- IDF_PATH : ${{ github.workspace }}/ports/esp32s2 /esp-idf
384
+ IDF_PATH : ${{ github.workspace }}/ports/espressif /esp-idf
385
385
IDF_TOOLS_PATH : ${{ github.workspace }}/.idf_tools
386
386
- name : mpy-cross
387
387
run : make -C mpy-cross -j2
@@ -394,7 +394,7 @@ jobs:
394
394
working-directory : tools
395
395
shell : bash
396
396
env :
397
- IDF_PATH : ${{ github.workspace }}/ports/esp32s2 /esp-idf
397
+ IDF_PATH : ${{ github.workspace }}/ports/espressif /esp-idf
398
398
IDF_TOOLS_PATH : ${{ github.workspace }}/.idf_tools
399
399
BOARDS : ${{ matrix.board }}
400
400
- uses : actions/upload-artifact@v2
0 commit comments