mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-16 23:43:23 +00:00
extract artifacts to same folder structure as ci build
This commit is contained in:
parent
3689c4c604
commit
c829116830
2
.github/workflows/build_esp.yml
vendored
2
.github/workflows/build_esp.yml
vendored
@ -78,7 +78,6 @@ jobs:
|
||||
matrix:
|
||||
board:
|
||||
- 'espressif_s3_devkitc'
|
||||
|
||||
steps:
|
||||
- name: Clean workspace
|
||||
run: |
|
||||
@ -95,6 +94,7 @@ jobs:
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: ${{ matrix.board }}
|
||||
path: cmake-build/cmake-build-${{ matrix.board }}
|
||||
|
||||
- name: Test on actual hardware
|
||||
run: |
|
||||
|
7
.github/workflows/cmake_arm.yml
vendored
7
.github/workflows/cmake_arm.yml
vendored
@ -108,7 +108,6 @@ jobs:
|
||||
matrix:
|
||||
board:
|
||||
- 'raspberry_pi_pico'
|
||||
|
||||
steps:
|
||||
- name: Clean workspace
|
||||
run: |
|
||||
@ -127,12 +126,6 @@ jobs:
|
||||
name: ${{ matrix.board }}
|
||||
path: cmake-build/cmake-build-${{ matrix.board }}
|
||||
|
||||
- name: Display structure of downloaded files
|
||||
run: ls -R
|
||||
working-directory: cmake-build/cmake-build-${{ matrix.board }}
|
||||
|
||||
- run: tree
|
||||
|
||||
- name: Test on actual hardware
|
||||
run: |
|
||||
python3 test/hil/hil_test.py --board ${{ matrix.board }} hil_pi4.json
|
||||
|
@ -304,14 +304,10 @@ def main(config_file, board):
|
||||
test_list.remove(skip)
|
||||
|
||||
for test in test_list:
|
||||
# cmake, make
|
||||
fw_list = [
|
||||
# cmake build
|
||||
f'cmake-build/cmake-build-{item["name"]}/device/{test}/{test}.elf',
|
||||
# make build
|
||||
f'examples/device/{test}/_build/{item["name"]}/{test}.elf',
|
||||
# artifacts: esp32 use bin file
|
||||
f'device/{test}/{test}.elf'
|
||||
f'device/{test}/{test}.bin'
|
||||
f'examples/device/{test}/_build/{item["name"]}/{test}.elf'
|
||||
]
|
||||
|
||||
fw = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user