Mercurial > minori
annotate .builds/linux.yml @ 128:859d2a957940
cmake: set CXX_STANDARD to 17
builds: get wget on linux, don't attempt to mount binfmt_misc on win32/64
I'd prefer staying on C++11, but if constexpr is just so damn sexy...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 09 Nov 2023 02:28:22 -0500 |
parents | fb6033e8f872 |
children | 15eae944c58e |
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 |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
9 sources: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
10 - https://hg.sr.ht/~mrpapersonic/minori |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
11 environment: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
12 BUILD_SUBMITTER: hg.sr.ht |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
13 tasks: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
14 - build: | |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
15 cd minori |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
16 mkdir build |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
17 cd build |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
18 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
|
19 make |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
20 |
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
21 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
|
22 chmod +x linuxdeploy |
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
23 ./linuxdeploy --appdir Minori --executable minori -l libanimia.so -l libanitomy.so -l libpugixml.so.1.13 -d rc/Minori.desktop -i rc/Minori.png --output appimage |
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
24 artifacts: |
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
25 - minori/build/Minori-x86_64.AppImage |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
26 triggers: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
27 - action: email |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
28 condition: failure |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
29 to: Paper <mrpapersonic@gmail.com> |