Commit Graph

16 Commits

Author SHA1 Message Date
guihkx
26c559a27f ci: update actions/download-artifact to v4
This version bump is now needed because of changes from commit
7e2c233674, which ended up breaking
automated uploads to the Releases page.
2024-04-30 14:14:32 +02:00
DevilXD
7e2c233674 CI actions update 2024-04-30 10:41:09 +02:00
guihkx
3897a8bccf ci/linux: build AppImage on Ubuntu 22.04 (Python 3.10)
Ubuntu 20.04 only has Python 3.8, and because the 'truststore'
dependency requires at least Python 3.10, the AppImage package would
need to bundle CA certificates from 'certifi' to make HTTPS requests
work at all, which is quite an ugly workaround.

Unfortunately, as a side effect, building on Ubuntu 22.04 increases the
minimum required version of glibc from 2.31 to 2.35.
2024-01-22 23:29:38 +01:00
DevilXD
9e18c1ab20 Revert AppImage back to using 3.8 2024-01-20 18:39:42 +01:00
DevilXD
da600f3db6 Remove extra spaces 2024-01-20 18:36:28 +01:00
DevilXD
b655803bf5 Don't need to use venv in CI builds 2024-01-20 13:15:11 +01:00
DevilXD
0df7d9e57f Yet another attempt at passing env vars to the script 2024-01-20 11:16:43 +01:00
DevilXD
0a4bef728e Switch back to ubuntu-20.04 runners, fix AppImage builder exec 2024-01-20 11:09:06 +01:00
DevilXD
d70e3b85b7 Switch from script variables to context variables 2024-01-19 19:35:34 +01:00
DevilXD
0b6deeb951 Fix missing quotes around variables; set up Python for AppImage too 2024-01-19 19:27:16 +01:00
DevilXD
b754f5e4a6 Run on latest windows and linux runners; ensure python 3.10 version 2024-01-19 19:23:10 +01:00
guihkx
51560b319c ci/linux: build Appimage for amd64
While it's theoretically possible to package for other CPU
architectures via QEMU, doing so will take more work and testing...
2023-11-16 20:36:25 +01:00
DevilXD
8189f01cb5 Run CI on pushes only to the master branch 2023-06-17 22:45:23 +02:00
guihkx
1a49b3836f ci/linux: bundle an up to date version of libXft
This fixes the following error when you launch the app with an emoji
font installed (e.g. Noto Emoji):

X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  139 (RENDER)
  Minor opcode of failed request:  20 (RenderAddGlyphs)
  Serial number of failed request:  277
  Current serial number in output stream:  300

This has been fixed[1] in libXft 2.3.5[2], but unfortunately Ubuntu
20.04 (which we currently use in the Linux CI workflow), still has
version 2.3.3, so we have to build it ourselves.

[1] https://gitlab.freedesktop.org/xorg/lib/libxft/-/merge_requests/12
[2] https://lists.freedesktop.org/archives/xorg-announce/2022-September/003209.html
2023-06-11 16:58:18 +02:00
guihkx
332c8c4ea2 ci: provide development builds for Linux 2023-06-11 16:58:18 +02:00
guihkx
9b5d3d8a76 Provide development builds via GitHub Actions
Makes it easier for people to test bug fixes or new features.
2023-05-20 09:19:13 +02:00