Skip to content

Commit fe56814

Browse files
authored
Update build_esp32.yml
additional changes to the esp32 github builder.
1 parent 7e47e27 commit fe56814

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

.github/workflows/build_esp32.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,19 @@ jobs:
5656
- name: Setup IDF
5757
# if: steps.cache-esp-idf.outputs.cache-hit != 'true'
5858
run: |
59-
pwd
60-
cd /__w/tensorflow-micropython-examples/tensorflow-micropython-examples
61-
source ./micropython/tools/ci.sh && ci_esp32_setup_helper v4.3.1
62-
- name: Cache tflm
63-
id: cache-tflm
64-
uses: actions/cache@v2
65-
env:
66-
cache-name: cache-tflm
67-
with:
68-
path: ./micropython-modules/microlite/tflm
69-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.tflm-commit }}
59+
source /__w/tensorflow-micropython-examples/tensorflow-micropython-examples/micropython/tools/ci.sh && ci_esp32_setup_helper v4.3.1
60+
# - name: Cache tflm
61+
# id: cache-tflm
62+
# uses: actions/cache@v2
63+
# env:
64+
# cache-name: cache-tflm
65+
# with:
66+
# path: ./micropython-modules/microlite/tflm
67+
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.tflm-commit }}
7068
- name: Setup Build for Tensorflow
7169
# if: steps.cache-tflm.outputs.cache-hit != 'true'
7270
run: |
73-
cd /__w/tensorflow-micropython-examples/tensorflow-micropython-examples
71+
# cd /__w/tensorflow-micropython-examples/tensorflow-micropython-examples
7472
# source ./esp-idf/export.sh
7573

7674
pip3 install Pillow
@@ -79,7 +77,7 @@ jobs:
7977
echo "Regenerating microlite/tfm directory"
8078
rm -rf ./micropython-modules/microlite/tflm
8179

82-
cd ./tensorflow
80+
cd /__w/tensorflow-micropython-examples/tensorflow-micropython-examples/tensorflow
8381

8482
../micropython-modules/microlite/prepare-tflm-esp.sh
8583

@@ -93,7 +91,7 @@ jobs:
9391
9492
- name: Build standard non-psram 4MB Flash firmware
9593
run: |
96-
source ./esp-idf/export.sh
94+
# source ./esp-idf/export.sh
9795
9896
echo "cd ./boards/esp32/MICROLITE"
9997
cd ./boards/esp32/MICROLITE
@@ -114,7 +112,7 @@ jobs:
114112
115113
- name: Build with psram support and 16MB Flash firmware
116114
run: |
117-
source ./esp-idf/export.sh
115+
# source ./esp-idf/export.sh
118116

119117
echo "cd ./boards/esp32/MICROLITE_SPIRAM_16M"
120118
cd ./boards/esp32/MICROLITE_SPIRAM_16M

0 commit comments

Comments
 (0)