extract artifacts to same folder structure as ci build
This commit is contained in:
2
.github/workflows/build_esp.yml
vendored
2
.github/workflows/build_esp.yml
vendored
@@ -78,7 +78,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
board:
|
board:
|
||||||
- 'espressif_s3_devkitc'
|
- 'espressif_s3_devkitc'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clean workspace
|
- name: Clean workspace
|
||||||
run: |
|
run: |
|
||||||
@@ -95,6 +94,7 @@ jobs:
|
|||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.board }}
|
name: ${{ matrix.board }}
|
||||||
|
path: cmake-build/cmake-build-${{ matrix.board }}
|
||||||
|
|
||||||
- name: Test on actual hardware
|
- name: Test on actual hardware
|
||||||
run: |
|
run: |
|
||||||
|
7
.github/workflows/cmake_arm.yml
vendored
7
.github/workflows/cmake_arm.yml
vendored
@@ -108,7 +108,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
board:
|
board:
|
||||||
- 'raspberry_pi_pico'
|
- 'raspberry_pi_pico'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clean workspace
|
- name: Clean workspace
|
||||||
run: |
|
run: |
|
||||||
@@ -127,12 +126,6 @@ jobs:
|
|||||||
name: ${{ matrix.board }}
|
name: ${{ matrix.board }}
|
||||||
path: cmake-build/cmake-build-${{ 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
|
- name: Test on actual hardware
|
||||||
run: |
|
run: |
|
||||||
python3 test/hil/hil_test.py --board ${{ matrix.board }} hil_pi4.json
|
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)
|
test_list.remove(skip)
|
||||||
|
|
||||||
for test in test_list:
|
for test in test_list:
|
||||||
|
# cmake, make
|
||||||
fw_list = [
|
fw_list = [
|
||||||
# cmake build
|
|
||||||
f'cmake-build/cmake-build-{item["name"]}/device/{test}/{test}.elf',
|
f'cmake-build/cmake-build-{item["name"]}/device/{test}/{test}.elf',
|
||||||
# make build
|
f'examples/device/{test}/_build/{item["name"]}/{test}.elf'
|
||||||
f'examples/device/{test}/_build/{item["name"]}/{test}.elf',
|
|
||||||
# artifacts: esp32 use bin file
|
|
||||||
f'device/{test}/{test}.elf'
|
|
||||||
f'device/{test}/{test}.bin'
|
|
||||||
]
|
]
|
||||||
|
|
||||||
fw = None
|
fw = None
|
||||||
|
Reference in New Issue
Block a user