1616 env :
1717 IDF_COMP_MAN_VER : " 2.4.3"
1818 IDF_BUILD_APPS_VER : " 2.13.1"
19+ CONFIG_PATH : ${{ github.workspace }}/.github/ci/.build_and_run_idf_examples_config.toml
1920 steps :
2021 - uses : actions/checkout@v4
2122 - name : Install Python dependencies
@@ -39,19 +40,20 @@ jobs:
3940 export EXAMPLES_PATH="${IDF_PATH}/examples/peripherals/usb/device"
4041 export MANIFEST_FILE="${IDF_PATH}/examples/peripherals/.build-test-rules.yml"
4142 python .github/ci/override_managed_component.py tinyusb . ${EXAMPLES_PATH}/tusb_*
42- idf-build-apps find --paths ${EXAMPLES_PATH}/ --recursive --target all --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
43- idf-build-apps build --paths ${EXAMPLES_PATH}/ --recursive --target all --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
43+ cd ${IDF_PATH}
44+ idf-build-apps find --config-file ${CONFIG_PATH} --manifest-file ${MANIFEST_PATH}
45+ idf-build-apps build --config-file ${CONFIG_PATH} --manifest-file ${MANIFEST_PATH}
4446 - uses : actions/upload-artifact@v4
4547 with :
4648 # We upload only the USB Device example binaries to run them on the target
4749 name : usb_device_tusb_apps_bin_${{ matrix.idf_ver }}
4850 path : |
49- /opt/esp/idf/examples/peripherals/usb/device/tusb_*/build /bootloader/bootloader.bin
50- /opt/esp/idf/examples/peripherals/usb/device/tusb_*/build /partition_table/partition-table.bin
51- /opt/esp/idf/examples/peripherals/usb/device/tusb_*/build /tusb_*.bin
52- /opt/esp/idf/examples/peripherals/usb/device/tusb_*/build /tusb_*.elf
53- /opt/esp/idf/examples/peripherals/usb/device/tusb_*/build /flasher_args.json
54- /opt/esp/idf/examples/peripherals/usb/device/tusb_*/build /config/sdkconfig.json
51+ **/build_esp* /bootloader/bootloader.bin
52+ **/build_esp* /partition_table/partition-table.bin
53+ **/build_esp* /tusb_*.bin
54+ **/build_esp* /tusb_*.elf
55+ **/build_esp* /flasher_args.json
56+ **/build_esp* /config/sdkconfig.json
5557 if-no-files-found : error
5658 run-target :
5759 name : Run USB Device examples
0 commit comments