wrap up s3 hil test

This commit is contained in:
hathach 2023-12-11 14:52:21 +07:00
parent c829116830
commit e1142d4527
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
3 changed files with 22 additions and 24 deletions

View File

@ -30,10 +30,9 @@ jobs:
matrix:
board:
# ESP32-S2
# - 'espressif_kaluga_1'
- 'espressif_kaluga_1'
# ESP32-S3
- 'espressif_s3_devkitc'
steps:
- name: Setup Python
uses: actions/setup-python@v4
@ -49,9 +48,6 @@ jobs:
- name: Build
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
if: matrix.board == 'espressif_s3_devkitc' && github.repository_owner == 'hathach'
uses: actions/upload-artifact@v3

View File

@ -33,25 +33,25 @@ jobs:
matrix:
family:
# Alphabetical order
# - 'imxrt'
# - 'kinetis_kl'
# - 'lpc18 lpc40 lpc43'
# - 'lpc54 lpc55'
# - 'mcx'
# - 'nrf'
# - 'ra'
- 'imxrt'
- 'kinetis_kl'
- 'lpc18 lpc40 lpc43'
- 'lpc54 lpc55'
- 'mcx'
- 'nrf'
- 'ra'
- 'rp2040'
# - 'samd21'
# - 'samd51'
# - 'stm32f0'
# - 'stm32f1'
# - 'stm32f4'
# - 'stm32f7'
# - 'stm32g0'
# - 'stm32g4'
# - 'stm32h7'
# - 'stm32l4'
# - 'stm32u5'
- 'samd21'
- 'samd51'
- 'stm32f0'
- 'stm32f1'
- 'stm32f4'
- 'stm32f7'
- 'stm32g0'
- 'stm32g4'
- 'stm32h7'
- 'stm32l4'
- 'stm32u5'
steps:
- name: Setup Python
uses: actions/setup-python@v4

View File

@ -304,9 +304,11 @@ def main(config_file, board):
test_list.remove(skip)
for test in test_list:
# cmake, make
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}.bin',
# make
f'examples/device/{test}/_build/{item["name"]}/{test}.elf'
]