summaryrefslogtreecommitdiff
path: root/.github/workflows/cmake_arm.yml
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/cmake_arm.yml
parent05cc342dfa258a2c5e381788009b84445b6e9856 (diff)
move lpc18 and rp2040 to cmake workflow since rp2040 often failed randomly with make
Diffstat (limited to '.github/workflows/cmake_arm.yml')
-rw-r--r--.github/workflows/cmake_arm.yml19
1 files changed, 16 insertions, 3 deletions
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