comparison .builds/linux.yml @ 237:a7d0d543b334

*: make OS X builds succeed new script: deploy_build.sh, creates the app bundle
author Paper <paper@paper.us.eu.org>
date Fri, 19 Jan 2024 11:14:44 -0500
parents 4d461ef7d424
children d2b7e974221e
comparison
equal deleted inserted replaced
236:4d461ef7d424 237:a7d0d543b334
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
14 sources: 16 sources:
15 - https://hg.sr.ht/~mrpapersonic/minori 17 - https://hg.sr.ht/~mrpapersonic/minori
16 environment:
17 BUILD_SUBMITTER: hg.sr.ht
18 tasks: 18 tasks:
19 - build: | 19 - build: |
20 # build
20 cd minori 21 cd minori
21 autoreconf -i 22 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 23 mkdir build
30 cd build 24 cd build
31 ../configure 25 ../configure
32 make 26 make
27 sudo make install
33 28
29 # resources
30 mkdir -p rc
31 cp ../rc/Minori.desktop rc/Minori.desktop
32 cp ../rc/favicon256.png rc/Minori.png
33
34 # 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" 35 wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage"
35 chmod +x linuxdeploy 36 chmod +x linuxdeploy
36 ./linuxdeploy --appdir Minori --executable minori -d rc/Minori.desktop -i rc/Minori.png --output appimage 37 LD_LIBRARY_PATH=/usr/local/lib ./linuxdeploy --appdir Minori --executable $(which minori) -d rc/Minori.desktop -i rc/Minori.png --output appimage
37 artifacts: 38 artifacts:
38 - minori/build/Minori-x86_64.AppImage 39 - minori/build/Minori-x86_64.AppImage
39 triggers: 40 triggers:
40 - action: email 41 - action: email
41 condition: failure 42 condition: failure