Skip to content

Commit

Permalink
ci(tinyusb): Build all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-jam committed Dec 16, 2024
1 parent b9d898c commit ece2593
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_run_idf_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
run: |
. ${IDF_PATH}/export.sh
pip install idf-component-manager==1.5.2 idf-build-apps==2.4.3 --upgrade
export EXAMPLES_PATH="${IDF_PATH}/examples/peripherals/usb/device/tusb_ncm"
export EXAMPLES_PATH="${IDF_PATH}/examples/peripherals/usb/device"
export MANIFEST_FILE="${IDF_PATH}/examples/peripherals/.build-test-rules.yml"
python .github/ci/override_managed_component.py tinyusb . ${EXAMPLES_PATH}/
python .github/ci/override_managed_component.py tinyusb . ${EXAMPLES_PATH}/tusb_*
idf-build-apps find --path ${EXAMPLES_PATH}/ --recursive --target esp32s2 --manifest-file ${MANIFEST_FILE}
idf-build-apps build --path ${EXAMPLES_PATH}/ --recursive --target esp32s2 --manifest-file ${MANIFEST_FILE}
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -78,4 +78,4 @@ jobs:
cd ${IDF_PATH}
. ./export.sh
export EXAMPLES_PATH="${IDF_PATH}/examples/peripherals/usb/device"
pytest ${EXAMPLES_PATH} --target ${{ matrix.idf_target }} -m ${{ matrix.runner_tag }} --ignore-result-cases=*ncm
pytest ${EXAMPLES_PATH} --target ${{ matrix.idf_target }} -m ${{ matrix.runner_tag }} --ignore-result-cases=*ncm_example

0 comments on commit ece2593

Please sign in to comment.