Ver código fonte

try to fix cross included submodules with pico-sdk

hathach 5 anos atrás
pai
commit
b0b78c0efb
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      .github/workflows/build.yml

+ 2 - 0
.github/workflows/build.yml

@@ -85,6 +85,8 @@ jobs:
     - name: Checkout Submodules
     - name: Checkout Submodules
       run: |
       run: |
         git submodule sync --recursive
         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
         # 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 lib/lwip
         git submodule update --init --recursive --depth 1
         git submodule update --init --recursive --depth 1