Files
mucapy/.gitea/workflows/run-mucapy.yml
rattatwinko b3b3d77394
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 1m43s
moved the styling into seperate files that are now contained in the styling directory ; workflow should work with this!
2025-06-02 14:10:19 +02:00

41 lines
903 B
YAML

name: Build MuCaPy Executable
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-package:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install PyInstaller
run: pip install pyinstaller
- name: Build executable with PyInstaller
run: |
pyinstaller --onefile --windowed mucapy/main.py \
--add-data "mucapy/styling:mucapy/styling"
- name: Upload executable artifact
uses: actions/upload-artifact@v3
with:
name: mucapy-executable
path: dist/