Skip to content

Commit 3e50a61

Browse files
committed
Debugging prints
1 parent f34f68b commit 3e50a61

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/actions/deps/ports/zephyr-cp/action.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,17 @@ runs:
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

0 commit comments

Comments
 (0)