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 : Export ESP-IDF environment and install Python dependencies
1818 shell : bash
1919 run : |
2020 . ${IDF_PATH}/export.sh
21- pip install idf-component-manager==1.5.2 idf-build-apps==2.4.3 --upgrade
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+ export EXAMPLES_PATH="${IDF_PATH}/examples/network/sta2eth"
26+ export MANIFEST_FILE="${IDF_PATH}/examples/network/.build-test-rules.yml"
27+ idf-build-apps find --path ${EXAMPLES_PATH}/ --target esp32s2 --manifest-file ${MANIFEST_FILE}
28+ idf-build-apps build --path ${EXAMPLES_PATH}/ --target esp32s2 --manifest-file ${MANIFEST_FILE}
29+ - name : Build USB Device examples
30+ shell : bash
31+ run : |
2232 export EXAMPLES_PATH="${IDF_PATH}/examples/peripherals/usb/device"
2333 export MANIFEST_FILE="${IDF_PATH}/examples/peripherals/.build-test-rules.yml"
2434 python .github/ci/override_managed_component.py tinyusb . ${EXAMPLES_PATH}/tusb_*
2535 idf-build-apps find --path ${EXAMPLES_PATH}/ --recursive --target esp32s2 --manifest-file ${MANIFEST_FILE}
2636 idf-build-apps build --path ${EXAMPLES_PATH}/ --recursive --target esp32s2 --manifest-file ${MANIFEST_FILE}
2737 - uses : actions/upload-artifact@v4
2838 with :
39+ # We upload only the USB Device example binaries to run them on the target
2940 name : usb_device_tusb_apps_bin_${{ matrix.idf_ver }}
3041 path : |
3142 /opt/esp/idf/examples/peripherals/usb/device/tusb_*/build/bootloader/bootloader.bin
@@ -36,13 +47,13 @@ jobs:
3647 /opt/esp/idf/examples/peripherals/usb/device/tusb_*/build/config/sdkconfig.json
3748 if-no-files-found : error
3849 run-target :
39- name : Run
50+ name : Run USB Device examples
4051 if : ${{ github.repository_owner == 'espressif' }}
4152 needs : build
4253 strategy :
4354 fail-fast : false
4455 matrix :
45- idf_ver : ["release-v5.3", "release-v5.4", "latest"]
56+ idf_ver : ["release-v5.3", "release-v5.4", "release-v5.5" , " latest"]
4657 idf_target : ["esp32s2"]
4758 runner_tag : ["usb_device"]
4859 runs-on : [self-hosted, linux, docker, "${{ matrix.idf_target }}", "${{ matrix.runner_tag }}"]
6071 run : |
6172 cd ${IDF_PATH}
6273 . ./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
74+ 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 pytest_ignore_test_results pytest-timeout netifaces
6475 - uses : actions/download-artifact@v4
6576 with :
6677 name : usb_device_tusb_apps_bin_${{ matrix.idf_ver }}
0 commit comments