Files
Teletext-Editor/.gitea/workflows/build-windows.yaml
Daniel Dybing 6a5f223a88
All checks were successful
Build Linux / Build Linux (push) Successful in 1m40s
Build Windows / Build Windows (push) Successful in 2m52s
Fix Windows build: add missing PyQt6.sip hidden import
2026-01-31 11:45:37 +01:00

33 lines
910 B
YAML

name: Build Windows
on: [push, pull_request]
jobs:
build:
name: Build Windows
runs-on: ubuntu-latest
container:
image: tobix/pywine:3.10
steps:
- name: Install Node.js
run: |
apt-get update
apt-get install -y nodejs npm
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: |
wine python -m pip install --upgrade pip
wine pip install -r requirements.txt
- name: Build Executable
run: |
wine pyinstaller --onefile --windowed --hidden-import=pkgutil --hidden-import=PyQt6.sip --name TeletextEditor_Windows.exe --paths src --add-data "app_icon.png;." --icon=app_icon.ico src/main.py
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: TeletextEditor-Windows
path: dist/TeletextEditor_Windows.exe