update ci
This commit is contained in:
@@ -25,17 +25,9 @@ jobs:
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y cmake python3 build-essential gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib ninja-build
|
sudo apt install -y cmake python3 build-essential gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib ninja-build
|
||||||
|
|
||||||
- name: Cache Pico SDK
|
- name: Download Pico SDK
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ${{ env.PICO_SDK_PATH }}
|
|
||||||
key: pico-sdk-${{ runner.os }}-${{ env.PICO_SDK_REF }}-tinyusb-${{ env.TINYUSB_REF }}
|
|
||||||
|
|
||||||
- name: Prepare Pico SDK
|
|
||||||
run: |
|
run: |
|
||||||
if [ ! -d "$PICO_SDK_PATH/.git" ]; then
|
git clone --depth 1 --branch "$PICO_SDK_REF" https://github.com/raspberrypi/pico-sdk.git "$PICO_SDK_PATH"
|
||||||
git clone --depth 1 --branch "$PICO_SDK_REF" https://github.com/raspberrypi/pico-sdk.git "$PICO_SDK_PATH"
|
|
||||||
fi
|
|
||||||
git -C "$PICO_SDK_PATH" submodule update --init --recursive
|
git -C "$PICO_SDK_PATH" submodule update --init --recursive
|
||||||
|
|
||||||
- name: Switch TinyUSB to configured tag
|
- name: Switch TinyUSB to configured tag
|
||||||
|
|||||||
@@ -30,17 +30,9 @@ jobs:
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y cmake python3 build-essential gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib ninja-build
|
sudo apt install -y cmake python3 build-essential gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib ninja-build
|
||||||
|
|
||||||
- name: Cache Pico SDK
|
- name: Download Pico SDK
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ${{ env.PICO_SDK_PATH }}
|
|
||||||
key: pico-sdk-${{ runner.os }}-${{ env.PICO_SDK_REF }}-tinyusb-${{ env.TINYUSB_REF }}
|
|
||||||
|
|
||||||
- name: Prepare Pico SDK
|
|
||||||
run: |
|
run: |
|
||||||
if [ ! -d "$PICO_SDK_PATH/.git" ]; then
|
git clone --depth 1 --branch "$PICO_SDK_REF" https://github.com/raspberrypi/pico-sdk.git "$PICO_SDK_PATH"
|
||||||
git clone --depth 1 --branch "$PICO_SDK_REF" https://github.com/raspberrypi/pico-sdk.git "$PICO_SDK_PATH"
|
|
||||||
fi
|
|
||||||
git -C "$PICO_SDK_PATH" submodule update --init --recursive
|
git -C "$PICO_SDK_PATH" submodule update --init --recursive
|
||||||
|
|
||||||
- name: Switch TinyUSB to configured tag
|
- name: Switch TinyUSB to configured tag
|
||||||
|
|||||||
Reference in New Issue
Block a user