-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b151da9
commit 6c6722e
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build USB Test Application | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Once per day at midnight | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
build: | ||
name: Build USB Test App | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
idf_ver: ["release-v4.4", "latest"] | ||
idf_target: ["esp32s2", "esp32s3"] | ||
runs-on: ubuntu-20.04 | ||
container: espressif/idf:${{ matrix.idf_ver }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build USB Test Application | ||
env: | ||
IDF_TARGET: ${{ matrix.idf_target }} | ||
shell: bash | ||
working-directory: usb/test_app | ||
run: | | ||
. ${IDF_PATH}/export.sh | ||
idf.py build | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: usb_test_app_bin_${{ matrix.idf_target }}_${{ matrix.idf_ver }} | ||
path: | | ||
usb/test_app/build/bootloader/bootloader.bin | ||
usb/test_app/build/partition_table/partition-table.bin | ||
usb/test_app/build/usb_test_app.bin | ||
usb/test_app/build/usb_test_app.elf | ||
usb/test_app/build/flasher_args.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRCS "test_cdc_acm_host.c" "usb_device.c" | ||
INCLUDE_DIRS "." | ||
REQUIRES cdc_acm_host tinyusb unity) | ||
REQUIRES usb_host_cdc_acm tinyusb unity) |