summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-05-26 16:37:47 +0700
committerhathach <[email protected]>2023-05-26 16:37:47 +0700
commit7ac85d08c7aa59f35cbbf2657dd9be68d46e1fdc (patch)
treebbc4b7b31aee6554fb6768af6c85609122ed7e5e /.github/workflows
parent05cc342dfa258a2c5e381788009b84445b6e9856 (diff)
move lpc18 and rp2040 to cmake workflow since rp2040 often failed randomly with make
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_arm.yml3
-rw-r--r--.github/workflows/cmake_arm.yml19
2 files changed, 17 insertions, 5 deletions
diff --git a/.github/workflows/build_arm.yml b/.github/workflows/build_arm.yml
index 8fbaba4c6..42c8eb7ce 100644
--- a/.github/workflows/build_arm.yml
+++ b/.github/workflows/build_arm.yml
@@ -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'
diff --git a/.github/workflows/cmake_arm.yml b/.github/workflows/cmake_arm.yml
index e7991252d..f3989f239 100644
--- a/.github/workflows/cmake_arm.yml
+++ b/.github/workflows/cmake_arm.yml
@@ -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