Add pyinstaller linux CI build

This commit is contained in:
Stephen Horvath
2025-08-22 19:15:27 +10:00
parent e7b4e4d194
commit 2c02c00268
4 changed files with 75 additions and 50 deletions

View File

@@ -9,7 +9,7 @@ jobs:
flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-47
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
options: --privileged
steps:
- uses: actions/checkout@v4

25
.github/workflows/pyinstaller-linux.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: PyInstaller Build Linux
on:
push:
branches: [main]
pull_request:
jobs:
pyinstaller-linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: python3-gi gir1.2-gtk-4.0 gir1.2-adw-1
version: 0
- run: pip install pyinstaller
- run: pip install .
- run: pyinstaller yafi.spec
working-directory: pyinstaller
- name: Upload PyInstaller Artifact
uses: actions/upload-artifact@v4
with:
path: pyinstaller/dist/YAFI
name: yafi-linux-${{ github.sha }}