Skip to content

Add CDC parsing host test #2

Add CDC parsing host test

Add CDC parsing host test #2

name: Build and Run USB Host test
on:
schedule:
- cron: '0 0 * * SAT' # Saturday midnight
pull_request:
types: [opened, reopened, synchronize]
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
idf_ver: ["latest"]
runs-on: ubuntu-20.04
container: espressif/idf:${{ matrix.idf_ver }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Set up ESP-IDF Environment
shell: bash
run: |
. ${IDF_PATH}/export.sh
pip install pytest pytest-cpp idf-build-apps==2.4.3 --upgrade
- name: Find
shell: bash
run: idf-build-apps find --target linux
- name: Find
shell: bash
run: idf-build-apps build --target linux
- name: Test
shell: bash
run: pytest host/class/cdc/usb_host_cdc_acm/host_test/build_linux