comparison .builds/linux.yml @ 249:6b2441c776dd

*: merge
author Paper <mrpapersonic@gmail.com>
date Wed, 24 Jan 2024 20:18:59 -0500
parents f475e168fac8
children 862d0d8619f6
comparison
equal deleted inserted replaced
248:cf47a8f687c0 249:6b2441c776dd
1 image: debian/bookworm 1 image: debian/bookworm
2 packages: 2 packages:
3 - qtbase5-dev 3 - qtbase5-dev
4 - qttools5-dev 4 - qttools5-dev
5 - cmake 5 - automake
6 - autoconf
7 - libtool
6 - clang 8 - clang
7 - libcurl4-openssl-dev 9 - libcurl4-openssl-dev
8 - wget 10 - wget
9 - fuse 11 - fuse
10 - file 12 - file
11 - xorg-dev # shouldn't install Xorg! 13 - xorg-dev # shouldn't install Xorg!
12 - libwayland-dev 14 - libwayland-dev
13 - pkg-config 15 - pkg-config
16 - libglib2.0-dev
14 sources: 17 sources:
15 - https://hg.sr.ht/~mrpapersonic/minori 18 - https://hg.sr.ht/~mrpapersonic/minori
16 environment:
17 BUILD_SUBMITTER: hg.sr.ht
18 tasks: 19 tasks:
19 - build: | 20 - build: |
21 # build
20 cd minori 22 cd minori
21 autoreconf -i 23 autoreconf -i
22 cd dep/animia
23 autoreconf -i
24 cd ../anitomy
25 autoreconf -i
26 cd ../pugixml
27 autoreconf -i
28 cd ../..
29 mkdir build 24 mkdir build
30 cd build 25 cd build
31 ../configure 26 ../configure
32 make 27 make
28 sudo make install
33 29
30 # resources
31 mkdir -p rc
32 cp ../rc/linux/Minori.desktop rc/Minori.desktop
33 cp ../rc/linux/Minori.png rc/Minori.png
34
35 # use linuxdeploy to make an appimage
34 wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage" 36 wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage"
35 chmod +x linuxdeploy 37 chmod +x linuxdeploy
36 ./linuxdeploy --appdir Minori --executable minori -d rc/Minori.desktop -i rc/Minori.png --output appimage 38 LD_LIBRARY_PATH=/usr/local/lib ./linuxdeploy --appdir Minori --executable $(which minori) -d rc/Minori.desktop -i rc/Minori.png --output appimage
37 artifacts: 39 artifacts:
38 - minori/build/Minori-x86_64.AppImage 40 - minori/build/Minori-x86_64.AppImage
39 triggers: 41 triggers:
40 - action: email 42 - action: email
41 condition: failure 43 condition: failure
42 to: Paper <mrpapersonic@gmail.com> 44 to: Paper <paper@paper.us.eu.org>