Skip to content

Commit

Permalink
feature(CI): Added esp_io_solution repo clone and examples build to w…
Browse files Browse the repository at this point in the history
…orkflow
  • Loading branch information
roma-jam committed Nov 5, 2024
1 parent f512f5c commit 44eaac5
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/build_iot_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,23 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Build ESP IoT Solution USB Device examples
- name: Configure ESP framework
shell: bash
run: |
. ${IDF_PATH}/export.sh
# 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_*
# cd ${IDF_PATH}
# idf-build-apps find --path examples/peripherals/usb/device/ --recursive --target all --manifest-file examples/peripherals/.build-test-rules.yml
# idf-build-apps build --path examples/peripherals/usb/device/ --recursive --target all --manifest-file examples/peripherals/.build-test-rules.yml
- name: Clone ESP IoT Solution repository
shell: bash
run: |
git clone [email protected]: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

0 comments on commit 44eaac5

Please sign in to comment.