From f72c393a74172aae1c7d26fa8f120c9c6e36d702 Mon Sep 17 00:00:00 2001 From: Daniel Dybing Date: Tue, 13 Jan 2026 16:42:16 +0100 Subject: [PATCH] Switch Windows build to cross-compile with Wine --- .gitea/workflows/build.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index f063465..16668e7 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -32,23 +32,19 @@ jobs: path: dist/vhs-decode-gui-linux build-windows: - runs-on: windows-latest + runs-on: ubuntu-latest + container: tobix/pywine:3.11 steps: - name: Check out repository code uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - name: Install Dependencies run: | - pip install -r requirements.txt + wine python -m pip install -r requirements.txt - name: Build with PyInstaller run: | - pyinstaller --onefile --windowed --name vhs-decode-gui-windows.exe vhs_decode_gui.py + wine pyinstaller --onefile --windowed --name vhs-decode-gui-windows.exe vhs_decode_gui.py - name: Upload Windows Artifact uses: actions/upload-artifact@v3