Mercurial > minori
annotate .builds/linux.yml @ 363:f10507d8f686
CI/linux: deploy qt plugin as well
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 15 Jul 2024 01:33:51 -0400 |
parents | 433eeaca3baf |
children |
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 |
344 | 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 |
344 | 11 - libxcb1-dev |
12 - libxcb-res0-dev | |
200
da91af31ae73
ci/linux: grab wayland headers to bundle in the AppImage
Paper <mrpapersonic@gmail.com>
parents:
159
diff
changeset
|
13 - libwayland-dev |
159
36feb332b7c7
builds/linux: install xorg dev headers and pkg-config
Paper <mrpapersonic@gmail.com>
parents:
132
diff
changeset
|
14 - pkg-config |
238 | 15 - libglib2.0-dev |
362
433eeaca3baf
CI/linux: revert change to linuxdeployqt; add qt plugin
Paper <paper@paper.us.eu.org>
parents:
361
diff
changeset
|
16 sources: |
433eeaca3baf
CI/linux: revert change to linuxdeployqt; add qt plugin
Paper <paper@paper.us.eu.org>
parents:
361
diff
changeset
|
17 - hg+https://hg.paper.us.eu.org/minori |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
18 tasks: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
19 - build: | |
237 | 20 # build |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
21 cd minori |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
22 mkdir build |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
23 cd build |
362
433eeaca3baf
CI/linux: revert change to linuxdeployqt; add qt plugin
Paper <paper@paper.us.eu.org>
parents:
361
diff
changeset
|
24 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
|
25 make |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
26 |
237 | 27 # resources |
28 mkdir -p rc | |
258 | 29 cp ../rc/sys/linux/Minori.desktop rc/Minori.desktop |
311
fb0f6b5050ff
linux: add required blank svg icon (???)
Paper <paper@paper.us.eu.org>
parents:
309
diff
changeset
|
30 cp ../rc/sys/linux/Minori.svg rc/Minori.svg |
237 | 31 |
362
433eeaca3baf
CI/linux: revert change to linuxdeployqt; add qt plugin
Paper <paper@paper.us.eu.org>
parents:
361
diff
changeset
|
32 # use linuxdeploy to make an appimage |
363
f10507d8f686
CI/linux: deploy qt plugin as well
Paper <paper@paper.us.eu.org>
parents:
362
diff
changeset
|
33 wget -O linuxdeploy-x86_64.AppImage "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20240109-1/linuxdeploy-x86_64.AppImage" |
f10507d8f686
CI/linux: deploy qt plugin as well
Paper <paper@paper.us.eu.org>
parents:
362
diff
changeset
|
34 chmod +x linuxdeploy-x86_64.AppImage |
f10507d8f686
CI/linux: deploy qt plugin as well
Paper <paper@paper.us.eu.org>
parents:
362
diff
changeset
|
35 |
f10507d8f686
CI/linux: deploy qt plugin as well
Paper <paper@paper.us.eu.org>
parents:
362
diff
changeset
|
36 wget -O linuxdeploy-plugin-qt-x86_64.AppImage "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/1-alpha-20240109-1/linuxdeploy-plugin-qt-x86_64.AppImage" |
f10507d8f686
CI/linux: deploy qt plugin as well
Paper <paper@paper.us.eu.org>
parents:
362
diff
changeset
|
37 chmod +x linuxdeploy-plugin-qt-x86_64.AppImage |
f10507d8f686
CI/linux: deploy qt plugin as well
Paper <paper@paper.us.eu.org>
parents:
362
diff
changeset
|
38 |
f10507d8f686
CI/linux: deploy qt plugin as well
Paper <paper@paper.us.eu.org>
parents:
362
diff
changeset
|
39 LD_LIBRARY_PATH=. ./linuxdeploy-x86_64.AppImage --appdir Minori --executable ./minori -d rc/Minori.desktop -i rc/Minori.svg --output appimage --plugin qt |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
40 artifacts: |
362
433eeaca3baf
CI/linux: revert change to linuxdeployqt; add qt plugin
Paper <paper@paper.us.eu.org>
parents:
361
diff
changeset
|
41 - minori/build/Minori-x86_64.AppImage |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
42 triggers: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
43 - action: email |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
44 condition: failure |
246
f475e168fac8
CI: add experimental windows build
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
45 to: Paper <paper@paper.us.eu.org> |