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+ sudo apt-get install -y libusb-1.0-0-dev libudev-dev pkg-config mtools
12+ echo "::group::Install SDL2 i386 packages"
13+ sudo apt-get install -y -o Debug::pkgProblemResolver=yes -o Debug::pkgDepCache::AutoInstall=yes libsdl2-dev:i386 libsdl2-image-dev:i386 || {
14+ echo "::error::Failed to install SDL2 i386 packages"
15+ echo "--- apt-cache policy ---"
16+ apt-cache policy libsdl2-dev:i386 libsdl2-image-dev:i386
17+ echo "--- dpkg architecture list ---"
18+ dpkg --print-foreign-architectures
19+ exit 1
20+ }
21+ echo "::endgroup::"
1222 echo "PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" >> $GITHUB_ENV
1323 shell : bash
1424 - name : Setup Zephyr project
You can’t perform that action at this time.
0 commit comments