File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,15 +11,35 @@ jobs:
1111 - name : Checkout repository
1212 uses : actions/checkout@v4
1313 with :
14- lfs : false
14+ lfs : true # if you track any assets with Git LFS
15+
16+ - name : Set up Python (for fetch script)
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : ' 3.11'
20+
21+ - name : Install Python deps (if any)
22+ run : |
23+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
24+
25+ - name : Fetch external repos (matches your local step)
26+ run : python ./fetch_repos.py
27+ # runs in repo root, same as your local flow
1528
1629 - name : Build with ESP-IDF 5.4.2 for ESP32-P4
1730 uses : espressif/esp-idf-ci-action@v1
1831 with :
1932 esp_idf_version : v5.4.2
2033 target : esp32p4
21- command : |
22- . /opt/esp/idf/export.sh
23- cd platforms/tab5
24- idf.py set-target esp32p4
25- idf.py build
34+ path : platforms/tab5
35+ command : idf.py build
36+ # The CI action already sets up the IDF environment. :contentReference[oaicite:2]{index=2}
37+
38+ - name : Upload firmware artifacts
39+ uses : actions/upload-artifact@v4
40+ with :
41+ name : tab5-firmware-${{ github.sha }}
42+ path : |
43+ platforms/tab5/build/**/*.bin
44+ platforms/tab5/build/**/*.elf
45+ platforms/tab5/build/**/*.map
You can’t perform that action at this time.
0 commit comments