my cock is very small
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 1m39s
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 1m39s
This commit is contained in:
@@ -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/
|
||||
Reference in New Issue
Block a user