Skip to content

Commit 7128358

Browse files
committed
Bundle non Qt libs in AppImage
1 parent ee858c9 commit 7128358

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/build-linux.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,24 @@ jobs:
108108
Categories=Utility;
109109
EOF
110110
111+
- name: Check dynamic dependencies
112+
run: |
113+
ldd $APPDIR/usr/bin/${APP_NAME} || true
114+
111115
- name: Run linuxdeployqt
112116
run: |
113-
linuxdeployqt AppDir/usr/share/applications/${APP_NAME}.desktop -appimage
117+
linuxdeployqt AppDir/usr/share/applications/${APP_NAME}.desktop -appimage -bundle-non-qt-libs
118+
119+
chmod +x *.AppImage
114120
115121
# Rename output
116122
mv *.AppImage "${APP_NAME}-${PACKAGE_VERSION}.AppImage"
117123
124+
- name: Check AppImage
125+
run:
126+
./${APP_NAME}-${PACKAGE_VERSION}.AppImage --appimage-extract
127+
ldd squashfs-root/usr/bin/${APP_NAME}
128+
118129
- name: Package as .deb
119130
run: |
120131
mkdir -p package/DEBIAN package/usr/local/bin

0 commit comments

Comments
 (0)