comparison .builds/linux.yml @ 343:1faa72660932

*: transfer back to cmake from autotools autotools just made lots of things more complicated than they should have and many things broke (i.e. translations)
author Paper <paper@paper.us.eu.org>
date Thu, 20 Jun 2024 05:56:06 -0400
parents 3c755136f074
children 676b9967d8c6
comparison
equal deleted inserted replaced
342:adb79bdde329 343:1faa72660932
18 - hg+https://hg.paper.us.eu.org/minori 18 - hg+https://hg.paper.us.eu.org/minori
19 tasks: 19 tasks:
20 - build: | 20 - build: |
21 # build 21 # build
22 cd minori 22 cd minori
23 autoreconf -i
24 mkdir build 23 mkdir build
25 cd build 24 cd build
26 ../configure 25 cmake .. -G "Unix Makefiles"
27 make 26 make
28 sudo make install
29 27
30 # resources 28 # resources
31 mkdir -p rc 29 mkdir -p rc
32 cp ../rc/sys/linux/Minori.desktop rc/Minori.desktop 30 cp ../rc/sys/linux/Minori.desktop rc/Minori.desktop
33 cp ../rc/sys/linux/Minori.svg rc/Minori.svg 31 cp ../rc/sys/linux/Minori.svg rc/Minori.svg
34 32
35 # use linuxdeploy to make an appimage 33 # use linuxdeploy to make an appimage
36 wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage" 34 wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage"
37 chmod +x linuxdeploy 35 chmod +x linuxdeploy
38 LD_LIBRARY_PATH=/usr/local/lib ./linuxdeploy --appdir Minori --executable $(which minori) -d rc/Minori.desktop -i rc/Minori.svg --output appimage 36 LD_LIBRARY_PATH=. ./linuxdeploy --appdir Minori --executable ./minori -d rc/Minori.desktop -i rc/Minori.svg --output appimage
39 artifacts: 37 artifacts:
40 - minori/build/Minori-x86_64.AppImage 38 - minori/build/Minori-x86_64.AppImage
41 triggers: 39 triggers:
42 - action: email 40 - action: email
43 condition: failure 41 condition: failure