move lpc18 and rp2040 to cmake workflow since rp2040 often failed randomly with make

This commit is contained in:
hathach
2023-05-26 16:37:47 +07:00
parent 05cc342dfa
commit 7ac85d08c7
12 changed files with 429 additions and 34 deletions

View File

@@ -35,12 +35,11 @@ jobs:
# Alphabetical order
- 'broadcom_32bit'
- 'kinetis_k32l kinetis_kl'
- 'lpc11 lpc13 lpc15 lpc17 lpc18'
- 'lpc11 lpc13 lpc15 lpc17'
- 'lpc51 lpc54 lpc55'
- 'mm32 msp432e4'
- 'nrf'
- 'ra'
- 'rp2040'
- 'samd11 samd21'
- 'samd51 same5x'
- 'saml2x'

View File

@@ -32,9 +32,11 @@ jobs:
fail-fast: false
matrix:
family:
# Alphabetical order
- 'mcx'
- 'imxrt'
# Alphabetical order
- 'lpc18'
- 'mcx'
- 'imxrt'
- 'rp2040'
steps:
- name: Setup Python
uses: actions/setup-python@v4
@@ -52,8 +54,19 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Checkout pico-sdk for rp2040
if: matrix.family == 'rp2040'
uses: actions/checkout@v3
with:
repository: raspberrypi/pico-sdk
ref: develop
path: pico-sdk
- name: Get Dependencies
run: python3 tools/get_deps.py ${{ matrix.family }}
- name: Build
run: python tools/build_cmake.py ${{ matrix.family }}
env:
# for rp2040, there is no harm if defined for other families
PICO_SDK_PATH: ${{ github.workspace }}/pico-sdk