Skip to content

Commit

Permalink
ci(esp_tinyusb): Fix install libusb
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-marcisovsky committed Oct 10, 2024
1 parent 51ce5f0 commit 884de88
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .build-test-rules.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
device/esp_tinyusb:
enable:
- if: IDF_TARGET in ["esp32s2"]
# - if: SOC_USB_OTG_SUPPORTED == 1
- if: SOC_USB_OTG_SUPPORTED == 1

host/class:
enable:
- if: IDF_TARGET in ["esp32s2"]
#host/class:
# enable:
# - if: SOC_USB_OTG_SUPPORTED == 1

host/class/cdc/usb_host_cdc_acm/host_test:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build_and_run_test_app_usb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ jobs:
- name: Install Python packages
env:
PIP_EXTRA_INDEX_URL: "https://dl.espressif.com/pypi/"
run: pip install --only-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf pyserial pyusb libusb
run: |
pip install --only-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf pyserial pyusb libusb
sudo apt-get install libusb-1.0-0-dev
- name: Run USB Test App on target
run: pytest --embedded-services esp,idf --target=${{ matrix.idf_target }} -m ${{ matrix.runner_tag }} --build-dir=build_${{ matrix.idf_target }}
1 change: 1 addition & 0 deletions .idf_build_apps.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
exclude = [
"clang_tidy",
"usb_host",
]
recursive = true
manifest_file = ".build-test-rules.yml"
Expand Down

0 comments on commit 884de88

Please sign in to comment.