Skip to content

Commit 9ede673

Browse files
committed
feature(CI): Added esp_iot_solutions example build verification for latest idf
1 parent 58b8f1f commit 9ede673

File tree

1 file changed

+28
-0
lines changed

1 file changed

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