mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-28 16:20:26 +00:00
wrap up s3 hil test
This commit is contained in:
parent
c829116830
commit
e1142d4527
6
.github/workflows/build_esp.yml
vendored
6
.github/workflows/build_esp.yml
vendored
@ -30,10 +30,9 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
board:
|
board:
|
||||||
# ESP32-S2
|
# ESP32-S2
|
||||||
# - 'espressif_kaluga_1'
|
- 'espressif_kaluga_1'
|
||||||
# ESP32-S3
|
# ESP32-S3
|
||||||
- 'espressif_s3_devkitc'
|
- 'espressif_s3_devkitc'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
@ -49,9 +48,6 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32.py ${{ matrix.board }}
|
run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32.py ${{ matrix.board }}
|
||||||
|
|
||||||
- name: test dir
|
|
||||||
run: tree
|
|
||||||
|
|
||||||
- name: Upload Artifacts for Hardware Testing
|
- name: Upload Artifacts for Hardware Testing
|
||||||
if: matrix.board == 'espressif_s3_devkitc' && github.repository_owner == 'hathach'
|
if: matrix.board == 'espressif_s3_devkitc' && github.repository_owner == 'hathach'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
36
.github/workflows/cmake_arm.yml
vendored
36
.github/workflows/cmake_arm.yml
vendored
@ -33,25 +33,25 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
family:
|
family:
|
||||||
# Alphabetical order
|
# Alphabetical order
|
||||||
# - 'imxrt'
|
- 'imxrt'
|
||||||
# - 'kinetis_kl'
|
- 'kinetis_kl'
|
||||||
# - 'lpc18 lpc40 lpc43'
|
- 'lpc18 lpc40 lpc43'
|
||||||
# - 'lpc54 lpc55'
|
- 'lpc54 lpc55'
|
||||||
# - 'mcx'
|
- 'mcx'
|
||||||
# - 'nrf'
|
- 'nrf'
|
||||||
# - 'ra'
|
- 'ra'
|
||||||
- 'rp2040'
|
- 'rp2040'
|
||||||
# - 'samd21'
|
- 'samd21'
|
||||||
# - 'samd51'
|
- 'samd51'
|
||||||
# - 'stm32f0'
|
- 'stm32f0'
|
||||||
# - 'stm32f1'
|
- 'stm32f1'
|
||||||
# - 'stm32f4'
|
- 'stm32f4'
|
||||||
# - 'stm32f7'
|
- 'stm32f7'
|
||||||
# - 'stm32g0'
|
- 'stm32g0'
|
||||||
# - 'stm32g4'
|
- 'stm32g4'
|
||||||
# - 'stm32h7'
|
- 'stm32h7'
|
||||||
# - 'stm32l4'
|
- 'stm32l4'
|
||||||
# - 'stm32u5'
|
- 'stm32u5'
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
@ -304,9 +304,11 @@ def main(config_file, board):
|
|||||||
test_list.remove(skip)
|
test_list.remove(skip)
|
||||||
|
|
||||||
for test in test_list:
|
for test in test_list:
|
||||||
# cmake, make
|
|
||||||
fw_list = [
|
fw_list = [
|
||||||
|
# cmake: esp32 use .bin file
|
||||||
f'cmake-build/cmake-build-{item["name"]}/device/{test}/{test}.elf',
|
f'cmake-build/cmake-build-{item["name"]}/device/{test}/{test}.elf',
|
||||||
|
f'cmake-build/cmake-build-{item["name"]}/device/{test}/{test}.bin',
|
||||||
|
# make
|
||||||
f'examples/device/{test}/_build/{item["name"]}/{test}.elf'
|
f'examples/device/{test}/_build/{item["name"]}/{test}.elf'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user