trying out nuitka on github actions

This commit is contained in:
Pakobbix 2023-05-27 15:09:44 +02:00
parent 21930ba8e9
commit 0cd44016f5

View File

@ -51,10 +51,16 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pyinstaller
pip install nuitka
- 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
uses: actions/upload-artifact@v3