From 126538fcd233ab9e32ddd9108fa864f0a4075b8d Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Mon, 2 Sep 2024 09:40:43 +0100 Subject: [PATCH 1/2] CI: Pin cmake workflow to SDK 1.5.1. --- .github/workflows/cmake.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 3ad5543..dd7e9f8 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -39,6 +39,7 @@ jobs: uses: actions/checkout@v4 with: repository: raspberrypi/pico-sdk + ref: 1.5.1 path: pico-sdk submodules: true From 37959b42fc062a7f7aa330b35fdcae36a7e90d37 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Mon, 2 Sep 2024 09:41:14 +0100 Subject: [PATCH 2/2] CI: Init only necessary micropython submodules. --- .github/workflows/micropython.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/micropython.yml b/.github/workflows/micropython.yml index 868d765..0798272 100644 --- a/.github/workflows/micropython.yml +++ b/.github/workflows/micropython.yml @@ -8,7 +8,7 @@ on: env: MICROPYTHON_VERSION: v1.23.0 - WORKFLOW_VERSION: 0 + WORKFLOW_VERSION: 1 jobs: deps: @@ -38,13 +38,14 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' shell: bash working-directory: micropython - run: git submodule update --init - - - name: Fetch Pico SDK submodules - if: steps.cache.outputs.cache-hit != 'true' - shell: bash - working-directory: micropython/lib/pico-sdk - run: git submodule update --init + run: | + git submodule update --init lib/pico-sdk + git submodule update --init lib/cyw43-driver + git submodule update --init lib/lwip + git submodule update --init lib/mbedtls + git submodule update --init lib/micropython-lib + git submodule update --init lib/tinyusb + git submodule update --init lib/btstack - name: Build mpy-cross if: steps.cache.outputs.cache-hit != 'true'