tryed to fix some workflow errors.
Some checks failed
PyInstaller Build / build (push) Failing after 10s

This commit is contained in:
2026-02-11 15:48:35 +01:00
parent 11da93f712
commit 4b1678914b

View File

@@ -1,37 +1,46 @@
name: PyInstaller Build name: PyInstaller Build
on: [push] on: [push]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.11' python-version: '3.11'
- name: Install system deps for wxPython - name: Install system dependencies for wxPython
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y libgtk-3-dev libnotify-dev libsdl2-dev \ sudo apt-get install -y \
libsm-dev libwebkit2gtk-4.0-dev libgstreamer1.0-dev \ libgtk-3-dev \
libgstreamer-plugins-base1.0-dev freeglut3-dev libnotify-dev \
libsdl2-dev \
- name: Install Python deps libsm-dev \
libwebkit2gtk-4.0-dev \
libgstreamer1.0-dev \
libgstreamer-plugins-base1.0-dev \
freeglut3-dev \
libgstreamer-plugins-bad1.0-dev \
libpng-dev \
libjpeg-dev \
libtiff-dev
- name: Install Python dependencies
run: | run: |
python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade pip setuptools wheel
pip install --only-binary=:all: wxPython
pip install -r requirements.txt pip install -r requirements.txt
pip install wxPython # Ohne --only-binary flag
pip install pyinstaller pip install pyinstaller
- name: Build with PyInstaller - name: Build with PyInstaller
run: pyinstaller --onefile --name myapp main.py run: pyinstaller --onefile --name myapp main.py
- name: Upload Executable - name: Upload Executable
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: myapp-linux name: myapp-linux
path: dist/myapp path: dist/myapp