Skip to content

feature(ci): Added esp-iot-solution USB Device examples build verification #5

feature(ci): Added esp-iot-solution USB Device examples build verification

feature(ci): Added esp-iot-solution USB Device examples build verification #5

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: Configure ESP framework
shell: bash
run: |
. ${IDF_PATH}/export.sh
- name: Clone ESP IoT Solution repository
shell: bash
run: |
git clone https://github.com/espressif/esp-iot-solution.git
echo ${IDF_PATH}
ls
- name: Update component dependencies to local component
shell: bash
run: |
pip install idf-component-manager==1.5.2 idf-build-apps --upgrade
# python .github/ci/override_managed_component.py tinyusb . ${IDF_PATH}/examples/peripherals/usb/device/tusb_*
- name: Build ESP IoT Solution USB Device examples
shell: bash
run: |
idf-build-apps find --path esp-iot-solution/examples/usb/device/ --recursive --target all --manifest-file examples/peripherals/.build-test-rules.yml
idf-build-apps build --path esp-iot-solution/examples/usb/device/ --recursive --target all --manifest-file examples/peripherals/.build-test-rules.yml