ci/linux: update PyInstaller builder to run on Ubuntu 22.04

The Ubuntu 20.04 runner image is expected to be removed from GitHub
Actions on April 1st, 2025.

Source: https://github.com/actions/runner-images/issues/11101
This commit is contained in:
guihkx authored and DevilXD committed 2025-03-24 07:41:34 +01:00
1 parent 5d11b67ad2
commit 714558965f
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -104,7 +104,7 @@ jobs:
linux-pyinstaller:
name: Linux (PyInstaller)
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs:
- validate
@@ -121,7 +121,7 @@ jobs:
run: |
sed -ri "s/^__version__\s*=\s*\"[^\"]+/\0.${{steps.vars.outputs.sha_short}}/" version.py
# NOTE: We're only use a custom version of Python here because truststore requires at least Python 3.10, but Ubuntu 20.04 has Python 3.8.
# Ensure Python version
- name: Set up Python
uses: actions/setup-python@v5
with:
@@ -141,7 +141,7 @@ jobs:
run: |
python3 -m pip install pyinstaller
# NOTE: Remove this step if/once libxft gets updated to 2.3.5 or newer on Ubuntu 20.04, which currently has 2.3.3.
# NOTE: Remove this step if/once libxft gets updated to 2.3.5 or newer on Ubuntu 22.04, which currently has 2.3.4.
- name: Build a recent version of libXft
run: |
mkdir -p /tmp/libXft
+1 -1
View File
@@ -60,7 +60,7 @@ Every several seconds, the application pretends to watch a particular stream by
- The Linux app is built and distributed using two distinct portable-executable formats: [AppImage](https://appimage.org/) and [PyInstaller](https://pyinstaller.org/).
- There are no major differences between the two formats, but if you're looking for a recommendation, use the AppImage.
- The Linux app should work out of the box on any modern distribution, as long as it has `glibc>=2.31` (PyInstaller package) or `glibc>=2.35` (AppImage package), plus a working display server.
- The Linux app should work out of the box on any modern distribution, as long as it has `glibc>=2.35`, plus a working display server.
- Every feature of the app is expected to work on Linux just as well as it does on Windows. If you find something that's broken, please [open a new issue](https://github.com/DevilXD/TwitchDropsMiner/issues/new).
- The size of the Linux app is significantly larger than the Windows app due to the inclusion of the `gtk3` library (and its dependencies), which is required for proper system tray/notifications support.
- As an alternative to the native Linux app, you can run the Windows app via [Wine](https://www.winehq.org/) instead. It works really well!