File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 6969 image : python:3.11-bookworm
7070 options : --privileged --device-cgroup-rule="c 188:* rmw" --device-cgroup-rule="c 166:* rmw"
7171 env :
72- ESP_USB_EXAPLES_PATH : esp-usb/device/esp_tinyusb/test_apps
72+ ESP_USB_PATH : esp-usb
7373 steps :
7474 - uses : actions/checkout@v4
7575 - name : Clone esp-usb repository
8787 with :
8888 name : usb_test_app_bin_${{ matrix.idf_ver }}
8989 - name : Run on target
90- run : pytest ${{ env.ESP_USB_EXAPLES_PATH }} --embedded-services esp,idf --target=${{ matrix.idf_target }} -m ${{ matrix.runner_tag }} --build-dir=build_${{ matrix.idf_target }}
90+ run :
91+ . ${IDF_PATH}/export.sh
92+ cd ${{ env.ESP_USB_PATH }}
93+ pytest --target=${{ matrix.idf_target }} -m ${{ matrix.runner_tag }} --build-dir=build_${{ matrix.idf_target }}
Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ jobs:
3232 export MANIFEST_FILE="${IDF_PATH}/examples/network/.build-test-rules.yml"
3333 python .github/ci/override_managed_component.py tinyusb . ${EXAMPLES_PATH}
3434 idf-build-apps find -p ${EXAMPLES_PATH} -t esp32s2 --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
35- idf-build-apps build -p ${EXAMPLES_PATH} -t esp32s2 --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
35+ # idf-build-apps build -p ${EXAMPLES_PATH} -t esp32s2 --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
3636 - name : Build USB Device examples
3737 shell : bash
3838 run : |
3939 . ${IDF_PATH}/export.sh
4040 python .github/ci/override_managed_component.py tinyusb . ${IDF_PATH}/examples/peripherals/usb/device/tusb_*
4141 idf-build-apps find --config-file ${CONFIG_PATH} --manifest-rootpath ${IDF_PATH}
42- idf-build-apps build --config-file ${CONFIG_PATH} --manifest-rootpath ${IDF_PATH}
42+ # idf-build-apps build --config-file ${CONFIG_PATH} --manifest-rootpath ${IDF_PATH}
4343 - uses : actions/upload-artifact@v4
4444 env :
4545 IDF_ROOT : " /opt/esp/idf"
5555 ${{ env.IDF_ROOT }}/**/build_esp*/config/sdkconfig.json
5656 if-no-files-found : error
5757 run-target :
58- name : Run USB Device examples
58+ name : Run
5959 if : ${{ github.repository_owner == 'espressif' }}
6060 needs : build
6161 strategy :
You can’t perform that action at this time.
0 commit comments