Mercurial > minori
annotate .builds/linux.yml @ 187:9613d72b097e
*: multiple performance improvements
like marking `static const` when it makes sense...
date: change old stupid heap-based method to a structure which should
make copying the thing actually make a copy.
also many performance-based changes, like removing the std::tie
dependency and forward-declaring nlohmann json
*: replace every instance of QString::fromUtf8 to Strings::ToQString.
the main difference is that our function will always convert exactly
what is in the string, while some other times it would only convert
up to the nearest NUL byte
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 06 Dec 2023 13:43:54 -0500 |
parents | 36feb332b7c7 |
children | da91af31ae73 |
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 |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
5 - cmake |
125
4067388485c1
builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
124
diff
changeset
|
6 - clang |
4067388485c1
builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
124
diff
changeset
|
7 - libcurl4-openssl-dev |
128
859d2a957940
cmake: set CXX_STANDARD to 17
Paper <mrpapersonic@gmail.com>
parents:
127
diff
changeset
|
8 - wget |
129
15eae944c58e
builds/linux: appimage requires FUSE
Paper <mrpapersonic@gmail.com>
parents:
128
diff
changeset
|
9 - fuse |
132
c2dab54abc79
builds/linux: add missing `file` dependency
Paper <mrpapersonic@gmail.com>
parents:
130
diff
changeset
|
10 - file |
159
36feb332b7c7
builds/linux: install xorg dev headers and pkg-config
Paper <mrpapersonic@gmail.com>
parents:
132
diff
changeset
|
11 - xorg-dev # shouldn't install Xorg! |
36feb332b7c7
builds/linux: install xorg dev headers and pkg-config
Paper <mrpapersonic@gmail.com>
parents:
132
diff
changeset
|
12 - pkg-config |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
13 sources: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
14 - https://hg.sr.ht/~mrpapersonic/minori |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
15 environment: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
16 BUILD_SUBMITTER: hg.sr.ht |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
17 tasks: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
18 - build: | |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
19 cd minori |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
20 mkdir build |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
21 cd build |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
22 cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
23 make |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
24 |
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
25 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
|
26 chmod +x linuxdeploy |
130
a00180d2523c
builds/linux: fix path for libpugixml.so
Paper <mrpapersonic@gmail.com>
parents:
129
diff
changeset
|
27 ./linuxdeploy --appdir Minori --executable minori -l libanimia.so -l libanitomy.so -l libpugixml.so -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
|
28 artifacts: |
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
29 - minori/build/Minori-x86_64.AppImage |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
30 triggers: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
31 - action: email |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
32 condition: failure |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
33 to: Paper <mrpapersonic@gmail.com> |