forked from hathach/tinyusb
-
Notifications
You must be signed in to change notification settings - Fork 33
28 lines (26 loc) · 1.08 KB
/
build_iot_examples.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Build ESP IoT Solution USB Device examples
on:
schedule:
- cron: '0 0 * * SAT' # Saturday midnight
pull_request:
types: [opened, reopened, synchronize]
jobs:
build:
strategy:
matrix:
#idf_ver: ["release-v5.0", "release-v5.1", "release-v5.2", "release-v5.3", "release-v5.4", "latest"]
idf_ver: ["latest"]
runs-on: ubuntu-20.04
container: espressif/idf:${{ matrix.idf_ver }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Build ESP IoT Solution USB Device examples
shell: bash
run: |
. ${IDF_PATH}/export.sh
git clone https://github.com/espressif/esp-iot-solution.git
pip install idf-component-manager==1.5.2 idf-build-apps --upgrade
idf-build-apps find --path esp-iot-solution/examples/usb/device/ --recursive --target all --manifest-file esp-iot-solution/examples/.build-rules.yml
idf-build-apps build --path esp-iot-solution/examples/usb/device/ --recursive --target all --manifest-file esp-iot-solution/examples/.build-rules.yml