diff --git a/.github/workflows/build_sw.yml b/.github/workflows/build_sw.yml index aa4912f..7ae8977 100644 --- a/.github/workflows/build_sw.yml +++ b/.github/workflows/build_sw.yml @@ -28,8 +28,11 @@ jobs: - name: install build packages run: sudo apt-get update && sudo apt-get install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi g++ libstdc++-arm-none-eabi-newlib build-essential - - name: Clone SDK, init submodules and add PICO_SDK_PATH - run: cd /tmp && git clone https://github.com/raspberrypi/pico-sdk.git && git submodule update --init && ls && echo "PICO_SDK_PATH=/tmp/pico-sdk" >> $GITHUB_ENV + - name: Get SDK and add PICO_SDK_PATH + run: git clone https://github.com/raspberrypi/pico-sdk.git && echo "PICO_SDK_PATH=/pico-sdk" >> $GITHUB_ENV + + - name: Init submodules to get tinyUSB stack + run: ls && cd pico-sdk && git submodule update --init && cd .. - name: Configure and run CMake Rev0.3 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.