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 : Build Network USB related examples
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+ export EXAMPLES_PATH="${IDF_PATH}/examples/network/sta2eth"
23+ export MANIFEST_FILE="${IDF_PATH}/examples/network/.build-test-rules.yml"
24+ idf-build-apps find --path ${EXAMPLES_PATH}/ --recursive --target esp32s2 --manifest-file ${MANIFEST_FILE}
25+ idf-build-apps build --path ${EXAMPLES_PATH}/ --recursive --target esp32s2 --manifest-file ${MANIFEST_FILE}
26+ - uses : actions/checkout@v4
27+ - name : Build USB Device examples
28+ shell : bash
29+ run : |
30+ . ${IDF_PATH}/export.sh
31+ pip install --no-cache-dir idf-component-manager>=2.1.2 idf-build-apps==2.4.3 pyyaml --upgrade
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_*
4252 strategy :
4353 fail-fast : false
4454 matrix :
45- idf_ver : ["release-v5.3", "release-v5.4", "latest"]
55+ idf_ver : ["release-v5.3", "release-v5.4", "release-v5.5" , " latest"]
4656 idf_target : ["esp32s2"]
4757 runner_tag : ["usb_device"]
4858 runs-on : [self-hosted, linux, docker, "${{ matrix.idf_target }}", "${{ matrix.runner_tag }}"]
@@ -60,14 +70,15 @@ jobs:
6070 run : |
6171 cd ${IDF_PATH}
6272 . ./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
73+ 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
6474 - uses : actions/download-artifact@v4
6575 with :
6676 name : usb_device_tusb_apps_bin_${{ matrix.idf_ver }}
6777 path : /opt/esp/idf/examples/peripherals/usb/device
6878 - name : Run USB Test App on target
6979 run : |
7080 cd ${IDF_PATH}
81+ ./install.sh --enable-ci
7182 . ./export.sh
7283 export EXAMPLES_PATH="${IDF_PATH}/examples/peripherals/usb/device"
7384 pytest ${EXAMPLES_PATH} --target ${{ matrix.idf_target }} -m ${{ matrix.runner_tag }} --ignore-result-cases=*ncm_example
0 commit comments