summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-03-19 19:10:54 +0700
committerGitHub <[email protected]>2023-03-19 19:10:54 +0700
commitd4d6f608850cc4e1160a46a9c60f1e4a2a0d2d41 (patch)
tree1d575059a2cf4449ce6fd044c80b67bde3df1a77 /.github/workflows
parent779149ecce03b2daaa7a9991c04db3b93a51bbb0 (diff)
parentf58da311453b13808db775f27337345bcbdf9aba (diff)
Merge pull request #1962 from hathach/update-bsp
Update bsp
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_arm.yml65
1 files changed, 18 insertions, 47 deletions
diff --git a/.github/workflows/build_arm.yml b/.github/workflows/build_arm.yml
index f63f637b1..b60d12a98 100644
--- a/.github/workflows/build_arm.yml
+++ b/.github/workflows/build_arm.yml
@@ -35,22 +35,20 @@ jobs:
- 'broadcom_32bit'
- 'imxrt'
- 'kinetis_k32 kinetis_kl'
- - 'lpc15 lpc18'
- - 'lpc54 lpc55'
+ - 'lpc11 lpc13 lpc15 lpc17 lpc18'
+ - 'lpc51 lpc54 lpc55'
- 'mm32 msp432e4'
- 'nrf'
- 'ra'
- 'rp2040'
- - 'samd11'
- - 'samd21'
- - 'samd51'
+ - 'samd11 samd21'
+ - 'samd51 same5x'
- 'saml2x'
- - 'stm32f0 stm32f1'
+ - 'stm32f0 stm32f1 stm32f2 stm32f3'
- 'stm32f4'
- 'stm32f7'
- - 'stm32g4 stm32wb'
- - 'stm32h7'
- - 'stm32l4'
+ - 'stm32g4 stm32h7'
+ - 'stm32l0 stm32l4 stm32u5 stm32wb'
- 'tm4c123 xmc4000'
steps:
- name: Setup Python
@@ -96,55 +94,28 @@ jobs:
# Upload binaries for rp2040/stm32l412nucleo hardware test with self-hosted
- name: Prepare rp2040 Artifacts
- if: matrix.family == 'rp2040' && github.repository_owner == 'hathach'
+ if: contains(matrix.family, 'rp2040') && github.repository_owner == 'hathach'
run: find examples/ -name "*.elf" -exec mv {} . \;
- name: Prepare stm32l412nucleo Artifacts
- if: matrix.family == 'stm32l4'
+ if: contains(matrix.family, 'stm32l4')
run: find examples/ -path "*stm32l412nucleo/*.elf" -exec mv {} . \;
- - name: Upload Artifacts for hardware testing
- if: matrix.family == 'stm32l4' || (matrix.family == 'rp2040' && github.repository_owner == 'hathach')
+ - name: Upload Artifacts for rp2040
+ if: contains(matrix.family,'rp2040') && github.repository_owner == 'hathach'
uses: actions/upload-artifact@v3
with:
- name: ${{ matrix.family }}
+ name: rp2040
path: |
*.elf
- # ---------------------------------------
- # Build all no-family (orphaned) boards
- # disable this workflow since it is often failed randomly
- # ---------------------------------------
- build-board:
- runs-on: ubuntu-latest
- if: false
- strategy:
- fail-fast: false
- matrix:
- example:
- # Alphabetical order, a group of 4
- - 'device/audio_test device/board_test device/cdc_dual_ports device/cdc_msc'
- - 'device/cdc_msc_freertos device/dfu_runtime device/hid_composite device/hid_composite_freertos'
- - 'device/hid_generic_inout device/hid_multiple_interface device/midi_test device/msc_dual_lun'
- - 'device/net_lwip_webserver'
- - 'device/uac2_headset device/usbtmc device/webusb_serial host/cdc_msc_hid'
-
- steps:
- - name: Setup Python
- uses: actions/setup-python@v4
- with:
- python-version: '3.x'
-
- - name: Install ARM GCC
- uses: carlosperate/arm-none-eabi-gcc-action@v1
+ - name: Upload Artifacts for stm32l412nucleo
+ if: contains(matrix.family, 'stm32l4') && github.repository_owner == 'hathach'
+ uses: actions/upload-artifact@v3
with:
- release: '11.2-2022.02'
-
- - name: Checkout TinyUSB
- uses: actions/checkout@v3
-
- - name: Build
- run: python3 tools/build_board.py ${{ matrix.example }}
+ name: stm32l4
+ path: |
+ *.elf
# ---------------------------------------
# Hardware in the loop (HIL)