Mercurial > minori
view .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 |
line wrap: on
line source
image: debian/bookworm packages: - qtbase5-dev - qttools5-dev - cmake - clang - libcurl4-openssl-dev - wget - fuse - file - libxcb1-dev - libxcb-res0-dev - libwayland-dev - pkg-config - libglib2.0-dev sources: - hg+https://hg.paper.us.eu.org/minori tasks: - build: | # build cd minori mkdir build cd build cmake .. -G "Unix Makefiles" make # resources mkdir -p rc cp ../rc/sys/linux/Minori.desktop rc/Minori.desktop cp ../rc/sys/linux/Minori.svg rc/Minori.svg # use linuxdeployqt to make an appimage wget -O linuxdeployqt "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" chmod +x linuxdeployqt mkdir -p AppDir/usr/bin mkdir -p AppDir/usr/lib mkdir -p AppDir/usr/share/applications mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps cp ../rc/sys/linux/Minori.svg AppDir/Minori.svg cp ../rc/sys/linux/Minori.desktop AppDir/usr/share/applications/Minori.desktop cp minori AppDir/usr/bin/minori ./linuxdeployqt AppDir/usr/share/applications/Minori.desktop -unsupported-allow-new-glibc -appimage # linuxdeployqt fails to make the appimage, for some reason wget -O appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" chmod +x appimagetool ./appimagetool AppDir minori-x86_64.AppImage artifacts: - minori/build/minori-x86_64.AppImage triggers: - action: email condition: failure to: Paper <paper@paper.us.eu.org>