mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 18:39:40 +00:00
trying out nuitka on github actions
This commit is contained in:
parent
21930ba8e9
commit
0cd44016f5
10
.github/workflows/package.yml
vendored
10
.github/workflows/package.yml
vendored
@ -51,10 +51,16 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install pyinstaller
|
pip install nuitka
|
||||||
|
|
||||||
- name: Build and package
|
- name: Build and package
|
||||||
run: pyinstaller --noconfirm --onefile --windowed StartUI.py --add-data="webuiGUI.py;."
|
run: nuitka StartUI.py --onefile --enable-plugin=pyqt5 --product-version=1.6.0 --disable-console --include-data-files=webuiGUI.py=webuiGUI.py --output-dir=./dist --noinclude-pytest-mode=nofollow --noinclude-setuptools-mode=nofollow
|
||||||
|
|
||||||
|
- name: remove build folders
|
||||||
|
run: |
|
||||||
|
rm -rf ./dist/StartUI.build
|
||||||
|
rm -rf ./dist/StartUI.dist
|
||||||
|
rm -rf ./dist/StartUI.onefile-build
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user