Merge pull request #2794 from hathach/fix-circleci

[circleci] fix build with rx by get-deps before install toolchain
This commit is contained in:
Ha Thach 2024-09-11 10:48:15 +07:00 committed by GitHub
commit 91c8700a9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,14 +68,6 @@ commands:
steps: steps:
- checkout - checkout
- when:
condition:
not:
equal: [esp-idf, << parameters.toolchain >>]
steps:
- setup-toolchain:
toolchain: << parameters.toolchain >>
- run: - run:
name: Get Dependencies name: Get Dependencies
command: | command: |
@ -101,6 +93,14 @@ commands:
echo "export PICO_SDK_PATH=~/pico-sdk" >> $BASH_ENV echo "export PICO_SDK_PATH=~/pico-sdk" >> $BASH_ENV
fi fi
- when:
condition:
not:
equal: [esp-idf, << parameters.toolchain >>]
steps:
- setup-toolchain:
toolchain: << parameters.toolchain >>
- run: - run:
name: Build name: Build
command: | command: |