my cock is very small
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 1m39s

This commit is contained in:
rattatwinko
2025-05-28 15:02:58 +02:00
parent 78403395c1
commit 9ae940585a

View File

@@ -1,4 +1,4 @@
name: Run MuCaPy
name: Build MuCaPy Executable
on:
push:
@@ -7,7 +7,7 @@ on:
branches: [ main ]
jobs:
build-and-run:
build-and-package:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@@ -23,11 +23,14 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install Xvfb and libgl (for PyQt5 and OpenCV GUI)
run: |
sudo apt-get update
sudo apt-get install -y xvfb libgl1-mesa-glx
- name: Install PyInstaller
run: pip install pyinstaller
- name: Run MuCaPy main.py with Xvfb
run: |
xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' python mucapy/main.py
- name: Build executable with PyInstaller
run: pyinstaller --onefile --windowed mucapy/main.py
- name: Upload executable artifact
uses: actions/upload-artifact@v3
with:
name: mucapy-executable
path: dist/