Files
decode-gui/.gitea/workflows/build.yaml
Daniel Dybing e37bfee11a
Some checks failed
Build Binaries / build-linux (push) Successful in 37s
Build Binaries / build-windows (push) Failing after 36s
Install Node.js in Windows build container
2026-01-13 16:46:10 +01:00

59 lines
1.5 KiB
YAML

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: ubuntu-latest
container: tobix/pywine:3.11
steps:
- name: Install Node.js
run: |
apt-get update
apt-get install -y nodejs
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Dependencies
run: |
wine python -m pip install -r requirements.txt
- name: Build with PyInstaller
run: |
wine 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