Add build workflow and requirements
Some checks failed
Build Binaries / build-linux (push) Successful in 1m36s
Build Binaries / build-windows (push) Has been cancelled

This commit is contained in:
2026-01-13 16:35:58 +01:00
commit 9f15ad3348
5 changed files with 596 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
name: Build Binaries
run-name: ${{ gitea.actor }} is building binaries 🚀
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
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: |
sudo apt-get update
sudo apt-get install -y python3-tk
pip install -r requirements.txt
- name: Build with PyInstaller
run: |
pyinstaller --onefile --windowed --name vhs-decode-gui-linux vhs_decode_gui.py
- name: Upload Linux Artifact
uses: actions/upload-artifact@v3
with:
name: vhs-decode-gui-linux
path: dist/vhs-decode-gui-linux
build-windows:
runs-on: windows-latest
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
- name: Build with PyInstaller
run: |
pyinstaller --onefile --windowed --name vhs-decode-gui-windows.exe vhs_decode_gui.py
- name: Upload Windows Artifact
uses: actions/upload-artifact@v3
with:
name: vhs-decode-gui-windows.exe
path: dist/vhs-decode-gui-windows.exe