annotate .builds/linux.yml @ 124:4c812fdf82a6

linux: add material for creating appimages, upload artifacts after CI build
author Paper <mrpapersonic@gmail.com>
date Thu, 09 Nov 2023 00:57:05 -0500
parents fcae8bece0ec
children 4067388485c1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
1 image: alpine/edge
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
2 packages:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
3 - qt5-qtbase-dev
111
fcae8bece0ec builds: add missing qt-tools dependency
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
4 - qt5-qttools-dev
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
5 - cmake
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
6 - gcc
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
7 - curl-dev
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
8 sources:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
9 - https://hg.sr.ht/~mrpapersonic/minori
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
10 environment:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
11 BUILD_SUBMITTER: hg.sr.ht
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
12 tasks:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
13 - build: |
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
14 cd minori
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
15 mkdir build
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
16 cd build
124
4c812fdf82a6 linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
17 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
18 make
124
4c812fdf82a6 linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
19
4c812fdf82a6 linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
20 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
21 chmod +x linuxdeploy
4c812fdf82a6 linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
22 ./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
23 artifacts:
4c812fdf82a6 linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
24 - minori/build/Minori-x86_64.AppImage
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
25 triggers:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
26 - action: email
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
27 condition: failure
124
4c812fdf82a6 linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
28 to: Paper <mrpapersonic@gmail.com>