Mercurial > minori
annotate .builds/linux.yml @ 256:6f3d193cb4b7
*: add missing binary data
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 07 Feb 2024 17:06:31 -0500 |
parents | f475e168fac8 |
children | 862d0d8619f6 |
rev | line source |
---|---|
125
4067388485c1
builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
124
diff
changeset
|
1 image: debian/bookworm |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
2 packages: |
125
4067388485c1
builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
124
diff
changeset
|
3 - qtbase5-dev |
127
fb6033e8f872
builds: qttools5-dev-tools -> qttools5-dev
Paper <mrpapersonic@gmail.com>
parents:
125
diff
changeset
|
4 - qttools5-dev |
237 | 5 - automake |
6 - autoconf | |
7 - libtool | |
125
4067388485c1
builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
124
diff
changeset
|
8 - clang |
4067388485c1
builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
124
diff
changeset
|
9 - libcurl4-openssl-dev |
128
859d2a957940
cmake: set CXX_STANDARD to 17
Paper <mrpapersonic@gmail.com>
parents:
127
diff
changeset
|
10 - wget |
129
15eae944c58e
builds/linux: appimage requires FUSE
Paper <mrpapersonic@gmail.com>
parents:
128
diff
changeset
|
11 - fuse |
132
c2dab54abc79
builds/linux: add missing `file` dependency
Paper <mrpapersonic@gmail.com>
parents:
130
diff
changeset
|
12 - file |
159
36feb332b7c7
builds/linux: install xorg dev headers and pkg-config
Paper <mrpapersonic@gmail.com>
parents:
132
diff
changeset
|
13 - xorg-dev # shouldn't install Xorg! |
200
da91af31ae73
ci/linux: grab wayland headers to bundle in the AppImage
Paper <mrpapersonic@gmail.com>
parents:
159
diff
changeset
|
14 - libwayland-dev |
159
36feb332b7c7
builds/linux: install xorg dev headers and pkg-config
Paper <mrpapersonic@gmail.com>
parents:
132
diff
changeset
|
15 - pkg-config |
238 | 16 - libglib2.0-dev |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
17 sources: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
18 - https://hg.sr.ht/~mrpapersonic/minori |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
19 tasks: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
20 - build: | |
237 | 21 # build |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
22 cd minori |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
200
diff
changeset
|
23 autoreconf -i |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
24 mkdir build |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
25 cd build |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
200
diff
changeset
|
26 ../configure |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
27 make |
237 | 28 sudo make install |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
29 |
237 | 30 # resources |
31 mkdir -p rc | |
239
cae61340cc86
configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents:
238
diff
changeset
|
32 cp ../rc/linux/Minori.desktop rc/Minori.desktop |
241
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
239
diff
changeset
|
33 cp ../rc/linux/Minori.png rc/Minori.png |
237 | 34 |
35 # use linuxdeploy to make an appimage | |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
36 wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage" |
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
37 chmod +x linuxdeploy |
237 | 38 LD_LIBRARY_PATH=/usr/local/lib ./linuxdeploy --appdir Minori --executable $(which minori) -d rc/Minori.desktop -i rc/Minori.png --output appimage |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
39 artifacts: |
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
40 - minori/build/Minori-x86_64.AppImage |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
41 triggers: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
42 - action: email |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
43 condition: failure |
246
f475e168fac8
CI: add experimental windows build
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
44 to: Paper <paper@paper.us.eu.org> |