File tree Expand file tree Collapse file tree
.github/actions/deps/ports/zephyr-cp Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 run : |
99 sudo dpkg --add-architecture i386
1010 sudo apt-get update
11- sudo apt-get install -y libusb-1.0-0-dev libudev-dev pkg-config libsdl2-dev:i386 libsdl2-image-dev:i386 mtools
11+ # Install non-broken deps normally
12+ sudo apt-get install -y libusb-1.0-0-dev libudev-dev pkg-config mtools
13+ # libsdl2-dev:i386 is broken on Ubuntu 24.04 due to libglib2.0-dev:i386
14+ # missing libglib2.0-dev-bin:i386 (https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/2108973)
15+ # Workaround: install i386 runtime deps via apt, then force-install the
16+ # i386 -dev packages with dpkg to skip the broken glib-dev dependency.
17+ sudo apt-get install -y libsdl2-2.0-0:i386 libsdl2-image-2.0-0:i386
18+ cd /tmp && apt-get download libsdl2-dev:i386 libsdl2-image-dev:i386 && sudo dpkg --force-depends -i libsdl2-dev_*_i386.deb libsdl2-image-dev_*_i386.deb
1219 echo "PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" >> $GITHUB_ENV
1320 shell : bash
1421 - name : Setup Zephyr project
You can’t perform that action at this time.
0 commit comments