Skip to content

Commit a2dbd9a

Browse files
committed
feature(CI): Added esp_iot_solutions example build verification for idf v5.x
1 parent 4b4c984 commit a2dbd9a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build ESP IoT Solution USB Device 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: ["release-v5.0", "release-v5.1", "release-v5.2", "release-v5.3", "release-v5.4", "latest"]
14+
runs-on: ubuntu-20.04
15+
container: espressif/idf:${{ matrix.idf_ver }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
submodules: 'true'
20+
- name: Build ESP IoT Solution USB Device examples
21+
shell: bash
22+
run: |
23+
. ${IDF_PATH}/export.sh
24+
git clone https://github.com/espressif/esp-iot-solution.git
25+
pip install idf-component-manager==2.0.4 idf-build-apps --upgrade
26+
idf-build-apps find --paths esp-iot-solution/examples/usb/device/ --recursive --manifest-files esp-iot-solution/examples/.build-rules.yml --manifest-rootpath esp-iot-solution/
27+
idf-build-apps build --paths esp-iot-solution/examples/usb/device/ --recursive --manifest-files esp-iot-solution/examples/.build-rules.yml --manifest-rootpath esp-iot-solution/

0 commit comments

Comments
 (0)