try to fix cross included submodules with pico-sdk

This commit is contained in:
hathach 2021-01-23 01:15:20 +07:00
parent fd56ae777e
commit b0b78c0efb
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ jobs:
- name: Checkout Submodules
run: |
git submodule sync --recursive
# pico-sdk also include tinyusb, therefore we cannot recursive include it
git submodule update --init hw/mcu/raspberrypi/pico-sdk
# Special case LWIP since GNU's Savannah can't do shallow checkout of non-tagged commits
git submodule update --init --recursive lib/lwip
git submodule update --init --recursive --depth 1