From 4b1678914bc487e2fa98953ff274a7f0bfcb5181 Mon Sep 17 00:00:00 2001 From: korn20123 Date: Wed, 11 Feb 2026 15:48:35 +0100 Subject: [PATCH] tryed to fix some workflow errors. --- .gitea/workflows/build.yml | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index e822e4f..97166cd 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -1,37 +1,46 @@ name: PyInstaller Build on: [push] - jobs: build: runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v4 - + - name: Setup Python uses: actions/setup-python@v4 with: python-version: '3.11' - - - name: Install system deps for wxPython + + - name: Install system dependencies for wxPython run: | sudo apt-get update - sudo apt-get install -y libgtk-3-dev libnotify-dev libsdl2-dev \ - libsm-dev libwebkit2gtk-4.0-dev libgstreamer1.0-dev \ - libgstreamer-plugins-base1.0-dev freeglut3-dev - - - name: Install Python deps + sudo apt-get install -y \ + libgtk-3-dev \ + libnotify-dev \ + libsdl2-dev \ + 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: | python -m pip install --upgrade pip setuptools wheel - pip install --only-binary=:all: wxPython pip install -r requirements.txt + pip install wxPython # Ohne --only-binary flag pip install pyinstaller - + - name: Build with PyInstaller run: pyinstaller --onefile --name myapp main.py - + - name: Upload Executable uses: actions/upload-artifact@v3 with: name: myapp-linux - path: dist/myapp + path: dist/myapp \ No newline at end of file