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:
1 parent
5d11b67ad2
commit
714558965f
2 files changed
+4
-4
No files matched your search
@@ -104,7 +104,7 @@ jobs:
|
|||||||
|
|
||||||
linux-pyinstaller:
|
linux-pyinstaller:
|
||||||
name: Linux (PyInstaller)
|
name: Linux (PyInstaller)
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
needs:
|
needs:
|
||||||
- validate
|
- validate
|
||||||
|
|
||||||
@@ -121,7 +121,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sed -ri "s/^__version__\s*=\s*\"[^\"]+/\0.${{steps.vars.outputs.sha_short}}/" version.py
|
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
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
@@ -141,7 +141,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python3 -m pip install pyinstaller
|
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
|
- name: Build a recent version of libXft
|
||||||
run: |
|
run: |
|
||||||
mkdir -p /tmp/libXft
|
mkdir -p /tmp/libXft
|
||||||
|
|||||||
@@ -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/).
|
- 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.
|
- 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).
|
- 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.
|
- 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!
|
- 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!
|
||||||
|
|||||||
Reference in new issue
Block a user