88 build :
99 strategy :
1010 matrix :
11- idf_ver : ["release-v5.0 ", "release-v5.1 ", "release-v5.2 ", "release-v5.3 ", "release-v5.4 ", "latest"]
11+ idf_ver : ["release-v5.1 ", "release-v5.2 ", "release-v5.3 ", "release-v5.4 ", "release-v5.5 ", "latest"]
1212 fail-fast : false
1313 runs-on : ubuntu-latest
1414 container : espressif/idf:${{ matrix.idf_ver }}
1515 steps :
1616 - uses : actions/checkout@v4
17- - name : Build
17+ - name : Install Python dependencies
18+ shell : bash
19+ run : |
20+ . ${IDF_PATH}/export.sh
21+ pip install --no-cache-dir idf-component-manager>=2.1.2 idf-build-apps==2.4.3 pyyaml --upgrade
22+ - name : Build Network USB related examples
23+ shell : bash
24+ run : |
25+ . ${IDF_PATH}/export.sh
26+ export EXAMPLES_PATH="${IDF_PATH}/examples/network/sta2eth"
27+ export MANIFEST_FILE="${IDF_PATH}/examples/network/.build-test-rules.yml"
28+ idf-build-apps find --path ${EXAMPLES_PATH}/ --target esp32s2 --manifest-file ${MANIFEST_FILE}
29+ idf-build-apps build --path ${EXAMPLES_PATH}/ --target esp32s2 --manifest-file ${MANIFEST_FILE}
30+ - name : Build USB Device examples
1831 shell : bash
1932 run : |
2033 . ${IDF_PATH}/export.sh
21- pip install idf-component-manager==1.5.2 idf-build-apps==2.4.3 --upgrade
2234 export EXAMPLES_PATH="${IDF_PATH}/examples/peripherals/usb/device"
2335 export MANIFEST_FILE="${IDF_PATH}/examples/peripherals/.build-test-rules.yml"
2436 python .github/ci/override_managed_component.py tinyusb . ${EXAMPLES_PATH}/tusb_*
2537 idf-build-apps find --path ${EXAMPLES_PATH}/ --recursive --target esp32s2 --manifest-file ${MANIFEST_FILE}
2638 idf-build-apps build --path ${EXAMPLES_PATH}/ --recursive --target esp32s2 --manifest-file ${MANIFEST_FILE}
2739 - uses : actions/upload-artifact@v4
2840 with :
41+ # We upload only the USB Device example binaries to run them on the target
2942 name : usb_device_tusb_apps_bin_${{ matrix.idf_ver }}
3043 path : |
3144 /opt/esp/idf/examples/peripherals/usb/device/tusb_*/build/bootloader/bootloader.bin
@@ -36,13 +49,13 @@ jobs:
3649 /opt/esp/idf/examples/peripherals/usb/device/tusb_*/build/config/sdkconfig.json
3750 if-no-files-found : error
3851 run-target :
39- name : Run
52+ name : Run USB Device examples
4053 if : ${{ github.repository_owner == 'espressif' }}
4154 needs : build
4255 strategy :
4356 fail-fast : false
4457 matrix :
45- idf_ver : ["release-v5.3", "release-v5.4", "latest"]
58+ idf_ver : ["release-v5.3", "release-v5.4", "release-v5.5" , " latest"]
4659 idf_target : ["esp32s2"]
4760 runner_tag : ["usb_device"]
4861 runs-on : [self-hosted, linux, docker, "${{ matrix.idf_target }}", "${{ matrix.runner_tag }}"]
6073 run : |
6174 cd ${IDF_PATH}
6275 . ./export.sh
63- pip install --only-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf pyserial pyusb python-gitlab minio idf-build-apps pytest_ignore_test_results pytest-timeout netifaces
76+ pip install --no-cache-dir -- only-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-jtag pytest-embedded- idf pyserial pyusb python-gitlab minio idf-build-apps idf_ci pytest_ignore_test_results pytest-timeout netifaces
6477 - uses : actions/download-artifact@v4
6578 with :
6679 name : usb_device_tusb_apps_bin_${{ matrix.idf_ver }}
0 commit comments