summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-07-01 16:24:58 +0700
committerhathach <[email protected]>2022-07-01 16:24:58 +0700
commit12341118e373cce10cb868f234009e9d37bff940 (patch)
tree87a8f0104f931b4034d362ef9f8f6e9b5575e1e1 /.github
parent8f9ecace4d9fecb14fbf8e8563d2f19334805d4d (diff)
add get-deps target
update ci to get-deps first
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_arm.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/.github/workflows/build_arm.yml b/.github/workflows/build_arm.yml
index 27cb9f1f7..7cc1b10f9 100644
--- a/.github/workflows/build_arm.yml
+++ b/.github/workflows/build_arm.yml
@@ -67,6 +67,11 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v3
+ - name: Install ARM GCC
+ uses: carlosperate/arm-none-eabi-gcc-action@v1
+ with:
+ release: '11.2-2022.02'
+
- name: Checkout TinyUSB
uses: actions/checkout@v3
@@ -86,10 +91,10 @@ jobs:
echo >> $GITHUB_ENV PICO_SDK_PATH=~/pico-sdk
git submodule update --init hw/mcu/raspberry_pi/Pico-PIO-USB
- - name: Install ARM GCC
- uses: carlosperate/arm-none-eabi-gcc-action@v1
- with:
- release: '11.2-2022.02'
+ - name: Get Dependencies
+ run: |
+ b=`find hw/bsp/${{ matrix.family }}/boards -depth -maxdepth 1 -type d -name '[^.]?*' -printf %f -quit`
+ make BOARD={b} get-deps
- name: Build
run: python3 tools/build_family.py ${{ matrix.family }}