summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.circleci/config2.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.circleci/config2.yml b/.circleci/config2.yml
index e076baeb7..542c3d0d0 100644
--- a/.circleci/config2.yml
+++ b/.circleci/config2.yml
@@ -42,10 +42,6 @@ commands:
if [[ << parameters.toolchain >> == rx-gcc ]]; then
mv toolchain.tar.gz toolchain.run
chmod +x toolchain.run
- # rx-gcc is i386 binary
- sudo dpkg --add-architecture i386
- sudo apt update
- sudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386
./toolchain.run -p ~/cache/<< parameters.toolchain >>/gnurx -y
else
tar -C ~/cache/<< parameters.toolchain >> -xaf toolchain.tar.gz
@@ -92,6 +88,13 @@ commands:
unzip ninja-linux.zip -d ~/bin
fi
+ # rx-gcc is 32-bit binary
+ if [[ << parameters.toolchain >> == rx-gcc ]]; then
+ sudo dpkg --add-architecture i386
+ sudo apt update
+ sudo apt install libc6:i386 libstdc++6:i386 zlib1g:i386
+ fi
+
# Install Pico SDK
if [ << parameters.family >> == "rp2040" ]; then
git clone --depth 1 https://github.com/raspberrypi/pico-sdk.git ~/pico-sdk