File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed
Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change 6666 with :
6767 ref : ${{ github.event.pull_request.head.sha }}
6868
69- # - name: Cache pip for ${{ matrix.esp-idf-fqbn }}
70- # uses: actions/cache@v3
71- # with:
72- # path: ~/.cache/pip
73- # key: ${{ runner.os }}-pip-${{ matrix.esp-idf-fqbn }}-${{ hashFiles('**/requirements.txt') }}
74- # restore-keys: |
75- # ${{ runner.os }}-pip-
76- #
77- # - name: Cache espressif tools for ${{ matrix.esp-idf-fqbn }}
78- # uses: actions/cache@v3
79- # id: espressif
80- # with:
81- # path: |
82- # ~/.espressif
83- # key: ${{ runner.os }}-espressif-${{ matrix.esp-idf-fqbn }}-${{ hashFiles('**/lockfiles') }}
84- #
85- # - name: Cache esp-idf for ${{ matrix.esp-idf-fqbn }}
86- # id: cache-idf
87- # uses: actions/cache@v3
88- # with:
89- # path: ~/esp/esp-idf
90- # key: ${{ runner.os }}-idf-${{ matrix.esp-idf-fqbn }}-${{ hashFiles('**/lockfiles') }}
91-
9269 - name : Get/Check IDF ${{ matrix.esp-idf-fqbn }}
9370 run : |
9471 mkdir -p ~/esp
10986 idf.py set-target $idf_board
11087 idf.py build merge-bin
11188 ls build/ -la
112- # [[ -f "build/merged-binary.bin" ]] || exit 1
11389 echo "idf_board=$idf_board" >> $GITHUB_OUTPUT
114- [[ $idf_board =~ ^esp32(c3|s3)?$ ]] && echo "qemu=true" >> $GITHUB_OUTPUT || echo "qemu=false" >> $GITHUB_OUTPUT
90+ if [[ " $idf_board" =~ ^esp32(c3|s3)?$ ]]; then echo "qemu=true" >> $GITHUB_OUTPUT; else || echo "qemu=false" >> $GITHUB_OUTPUT; fi
11591
11692 - name : Run ESP32 project in QEmu
11793 if : steps.idfbuild.outputs.qemu == 'true'
You can’t perform that action at this time.
0 commit comments