Mercurial > minori
annotate .builds/linux.yml @ 358:53c92e8968d5
CI: cleanup; remove source URL
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 15 Jul 2024 01:01:52 -0400 |
parents | ab77d65f23cd |
children | 4e0e17d3c67a |
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 |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
16 tasks: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
17 - build: | |
237 | 18 # build |
35
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 |
343
1faa72660932
*: transfer back to cmake from autotools
Paper <paper@paper.us.eu.org>
parents:
331
diff
changeset
|
22 cmake .. -G "Unix Makefiles" |
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 |
237 | 25 # resources |
26 mkdir -p rc | |
258 | 27 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
|
28 cp ../rc/sys/linux/Minori.svg rc/Minori.svg |
237 | 29 |
357
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
30 # use linuxdeployqt to make an appimage |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
31 wget -O linuxdeployqt "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
32 chmod +x linuxdeployqt |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
33 |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
34 mkdir -p AppDir/usr/bin |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
35 mkdir -p AppDir/usr/lib |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
36 mkdir -p AppDir/usr/share/applications |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
37 mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
38 |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
39 cp ../rc/sys/linux/Minori.svg AppDir/Minori.svg |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
40 cp ../rc/sys/linux/Minori.desktop AppDir/usr/share/applications/Minori.desktop |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
41 cp minori AppDir/usr/bin/minori |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
42 |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
43 ./linuxdeployqt AppDir/usr/share/applications/Minori.desktop -unsupported-allow-new-glibc -appimage |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
44 |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
45 # linuxdeployqt fails to make the appimage, for some reason |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
46 wget -O appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
47 chmod +x appimagetool |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
48 |
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
49 ./appimagetool AppDir minori-x86_64.AppImage |
124
4c812fdf82a6
linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
50 artifacts: |
357
ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
Paper <paper@paper.us.eu.org>
parents:
344
diff
changeset
|
51 - minori/build/minori-x86_64.AppImage |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
52 triggers: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
53 - action: email |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
23
diff
changeset
|
54 condition: failure |
246
f475e168fac8
CI: add experimental windows build
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
55 to: Paper <paper@paper.us.eu.org> |