annotate .builds/linux.yml @ 247:1ae4d8b28a5c

autotools/windres: use AC_PROG_SED for sed sed is actually surprisingly unportable. on mingw this shouldn't be a problem, but alas, we should use it anyway
author Paper <mrpapersonic@gmail.com>
date Wed, 24 Jan 2024 20:15:35 -0500
parents 4d461ef7d424
children a7d0d543b334
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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!
200
da91af31ae73 ci/linux: grab wayland headers to bundle in the AppImage
Paper <mrpapersonic@gmail.com>
parents: 159
diff changeset
12 - libwayland-dev
159
36feb332b7c7 builds/linux: install xorg dev headers and pkg-config
Paper <mrpapersonic@gmail.com>
parents: 132
diff changeset
13 - pkg-config
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
14 sources:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
15 - https://hg.sr.ht/~mrpapersonic/minori
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
16 environment:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
17 BUILD_SUBMITTER: hg.sr.ht
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: |
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
20 cd minori
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents: 200
diff changeset
21 autoreconf -i
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents: 200
diff changeset
22 cd dep/animia
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents: 200
diff changeset
23 autoreconf -i
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents: 200
diff changeset
24 cd ../anitomy
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents: 200
diff changeset
25 autoreconf -i
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents: 200
diff changeset
26 cd ../pugixml
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents: 200
diff changeset
27 autoreconf -i
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents: 200
diff changeset
28 cd ../..
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
29 mkdir build
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
30 cd build
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents: 200
diff changeset
31 ../configure
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
32 make
124
4c812fdf82a6 linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
33
4c812fdf82a6 linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
34 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
35 chmod +x linuxdeploy
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents: 200
diff changeset
36 ./linuxdeploy --appdir Minori --executable minori -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
37 artifacts:
4c812fdf82a6 linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
38 - minori/build/Minori-x86_64.AppImage
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
39 triggers:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
40 - action: email
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 23
diff changeset
41 condition: failure
124
4c812fdf82a6 linux: add material for creating appimages, upload artifacts after CI build
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
42 to: Paper <mrpapersonic@gmail.com>