more artifacts

This commit is contained in:
hathach 2023-12-11 11:56:04 +07:00
parent fd55b96ca1
commit 0642a6d9e7
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
2 changed files with 25 additions and 32 deletions

View File

@ -30,7 +30,7 @@ jobs:
matrix:
board:
# ESP32-S2
- 'espressif_kaluga_1'
# - 'espressif_kaluga_1'
# ESP32-S3
- 'espressif_s3_devkitc'
@ -58,6 +58,8 @@ jobs:
with:
name: ${{ matrix.board }}
path: |
cmake-build/cmake-build-${{ matrix.board }}/device/*/*.elf
cmake-build/cmake-build-${{ matrix.board }}/device/*/config.env
cmake-build/cmake-build-${{ matrix.board }}/device/*/flash_args
cmake-build/cmake-build-${{ matrix.board }}/*/*/bootloader/bootloader.bin
cmake-build/cmake-build-${{ matrix.board }}/*/*/*.bin
cmake-build/cmake-build-${{ matrix.board }}/*/*/partition_table/partition-table.bin
cmake-build/cmake-build-${{ matrix.board }}/*/*/config.env
cmake-build/cmake-build-${{ matrix.board }}/*/*/flash_args

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
@ -86,22 +86,13 @@ jobs:
# for rp2040, there is no harm if defined for other families
PICO_SDK_PATH: ${{ github.workspace }}/pico-sdk
# Upload binaries for hardware test with self-hosted
# - name: Prepare rp2040 Artifacts
# if: contains(matrix.family, 'rp2040') && github.repository_owner == 'hathach'
# working-directory: ${{github.workspace}}/cmake-build/cmake-build-raspberry_pi_pico
# run: |
# find device/ -name "*.elf" -exec mv {} ../../ \;
# # find host/ -name "*.elf" -exec mv {} ../../ \;
# # find dual/ -name "*.elf" -exec mv {} ../../ \;
- name: Upload Artifacts for Hardware Testing
if: contains(matrix.family,'rp2040') && github.repository_owner == 'hathach'
uses: actions/upload-artifact@v3
with:
name: rp2040
path: |
cmake-build/cmake-build-raspberry_pi_pico/device/*/*.elf
cmake-build/cmake-build-raspberry_pi_pico/*/*/*.elf
# ---------------------------------------
# Hardware in the loop (HIL)