Skip to content

Commit a1e0e14

Browse files
committed
.github: debug appimage build for aarch64
Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 53a0457 commit a1e0e14

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,18 @@ jobs:
3737
libsdl2-image-dev libsdl2-mixer-dev build-essential && \
3838
make clean && make && \
3939
(ARCH=aarch64 make appimage || (
40+
echo \"AppImage build failed, trying fallback...\" && \
4041
wget -q -c https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-aarch64.AppImage -O appimagetool && \
4142
chmod +x appimagetool && \
43+
echo \"Downloaded appimagetool, checking file:\" && \
44+
file appimagetool && \
45+
echo \"Attempting to run appimagetool directly...\" && \
46+
(./appimagetool --version 2>&1 || echo \"Direct execution failed with: \$?\") && \
47+
echo \"Extracting appimagetool...\" && \
4248
./appimagetool --appimage-extract && \
4349
mkdir -p AppDir/usr/bin AppDir/usr/share/applications AppDir/usr/share/icons/hicolor/256x256/apps && \
4450
cp demo AppDir/usr/bin/ && \
45-
printf \"[Desktop Entry]\\nType=Application\\nName=Infix Demo\\nExec=usr/bin/demo\\nIcon=demo\\nCategories=Game;\\n\" > AppDir/usr/share/applications/demo.desktop && \
51+
echo -e \"[Desktop Entry]\nType=Application\nName=Infix Demo\nExec=usr/bin/demo\nIcon=demo\nCategories=Game;\" > AppDir/usr/share/applications/demo.desktop && \
4652
cp jack.png AppDir/usr/share/icons/hicolor/256x256/apps/demo.png && \
4753
ln -sf usr/share/applications/demo.desktop AppDir/demo.desktop && \
4854
ln -sf usr/share/icons/hicolor/256x256/apps/demo.png AppDir/demo.png && \

0 commit comments

Comments
 (0)