Mercurial > minori
comparison .builds/linux.yml @ 357:ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 15 Jul 2024 00:43:11 -0400 |
parents | 676b9967d8c6 |
children | 53c92e8968d5 |
comparison
equal
deleted
inserted
replaced
356:373f92c35bec | 357:ab77d65f23cd |
---|---|
27 # resources | 27 # resources |
28 mkdir -p rc | 28 mkdir -p rc |
29 cp ../rc/sys/linux/Minori.desktop rc/Minori.desktop | 29 cp ../rc/sys/linux/Minori.desktop rc/Minori.desktop |
30 cp ../rc/sys/linux/Minori.svg rc/Minori.svg | 30 cp ../rc/sys/linux/Minori.svg rc/Minori.svg |
31 | 31 |
32 # use linuxdeploy to make an appimage | 32 # use linuxdeployqt to make an appimage |
33 wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage" | 33 wget -O linuxdeployqt "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" |
34 chmod +x linuxdeploy | 34 chmod +x linuxdeployqt |
35 LD_LIBRARY_PATH=. ./linuxdeploy --appdir Minori --executable ./minori -d rc/Minori.desktop -i rc/Minori.svg --output appimage | 35 |
36 mkdir -p AppDir/usr/bin | |
37 mkdir -p AppDir/usr/lib | |
38 mkdir -p AppDir/usr/share/applications | |
39 mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps | |
40 | |
41 cp ../rc/sys/linux/Minori.svg AppDir/Minori.svg | |
42 cp ../rc/sys/linux/Minori.desktop AppDir/usr/share/applications/Minori.desktop | |
43 cp minori AppDir/usr/bin/minori | |
44 | |
45 ./linuxdeployqt AppDir/usr/share/applications/Minori.desktop -unsupported-allow-new-glibc -appimage | |
46 | |
47 # linuxdeployqt fails to make the appimage, for some reason | |
48 wget -O appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" | |
49 chmod +x appimagetool | |
50 | |
51 ./appimagetool AppDir minori-x86_64.AppImage | |
36 artifacts: | 52 artifacts: |
37 - minori/build/Minori-x86_64.AppImage | 53 - minori/build/minori-x86_64.AppImage |
38 triggers: | 54 triggers: |
39 - action: email | 55 - action: email |
40 condition: failure | 56 condition: failure |
41 to: Paper <paper@paper.us.eu.org> | 57 to: Paper <paper@paper.us.eu.org> |