Skip to content

Commit 787d3e0

Browse files
committed
feature(CI): Added esp_iot_solutions example build verification for latest idf
1 parent 681b920 commit 787d3e0

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: ESP IoT Solution - USB Device Examples
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
7+
jobs:
8+
build:
9+
strategy:
10+
matrix:
11+
# idf_ver: ["release-v5.0", "release-v5.1", "release-v5.2", "release-v5.3", "release-v5.4", "latest"]
12+
idf_ver: ["latest"]
13+
name: ["usb_uart_bridge"]
14+
runs-on: ubuntu-20.04
15+
container: espressif/idf:${{ matrix.idf_ver }}
16+
env:
17+
ESP_IOT_PATH: esp-iot-solution
18+
MANIFEST_PATH: esp-iot-solution/examples/.build-rules.yml
19+
EXAMPLE_PATH: esp-iot-solution/examples/usb/device/${{ matrix.name }}
20+
steps:
21+
- uses: actions/checkout@v4
22+
with:
23+
submodules: 'true'
24+
- name: Clone esp-iot-solution repository
25+
run: |
26+
git clone https://github.com/espressif/esp-iot-solution.git
27+
- name: Build
28+
shell: bash
29+
run: |
30+
. ${IDF_PATH}/export.sh
31+
pip install idf-component-manager==1.5.2 idf-build-apps==2.4.3 --upgrade
32+
python .github/ci/override_managed_component.py tinyusb . ${{ env.EXAMPLE_PATH }}/
33+
idf-build-apps find --paths ${{ env.EXAMPLE_PATH }} --target all --manifest-file ${{ env.MANIFEST_PATH }} --manifest-rootpath ${{ env.ESP_IOT_PATH }}
34+
idf-build-apps build --paths ${{ env.EXAMPLE_PATH }} --target all --manifest-file ${{ env.MANIFEST_PATH }} --manifest-rootpath ${{ env.ESP_IOT_PATH }}

0 commit comments

Comments
 (0)