Skip to content

Commit a8cc409

Browse files
committed
feature(CI): Added esp_iot_solutions example build verification
1 parent 3c86895 commit a8cc409

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build ESP IoT Solution examples
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * SAT' # Saturday midnight
6+
pull_request:
7+
types: [opened, reopened, synchronize]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
idf_ver: ["latest"]
14+
runs-on: ubuntu-20.04
15+
container: espressif/iot-solution:${{ matrix.idf_ver }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
submodules: 'true'
20+
- name: Build ESP IOT Solution examples
21+
shell: bash
22+
run: |
23+
echo ${IDF_PATH}
24+
# run: |
25+
# . ${IDF_PATH}/export.sh
26+
# pip install idf-component-manager==1.5.2 idf-build-apps --upgrade
27+
# python .github/ci/override_managed_component.py tinyusb . ${IDF_PATH}/examples/peripherals/usb/device/tusb_*
28+
# cd ${IDF_PATH}
29+
# idf-build-apps find --path examples/peripherals/usb/device/ --recursive --target all --manifest-file examples/peripherals/.build-test-rules.yml
30+
# idf-build-apps build --path examples/peripherals/usb/device/ --recursive --target all --manifest-file examples/peripherals/.build-test-rules.yml

0 commit comments

Comments
 (0)