diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index dee6b22..f6f8770 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -31,17 +31,42 @@ jobs: pip install -r requirements.txt - name: Build Package run: | - nuitka3 --standalone --plugin-enable=pyside6 main.py + nuitka3 --onefile --plugin-enable=pyside6 main.py - name: Prepare Package for Upload run: | - mkdir ~/NUSD-Py-linux-bin - mv main.dist/* ~/NUSD-Py-linux-bin + mv main.bin ~/NUSD-Py - name: Upload Package uses: actions/upload-artifact@v4.3.0 with: - path: ~/NUSD-Py-linux-bin + path: ~/NUSD-Py name: NUSD-Py-linux-bin + build-macos: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.11 + uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Build Package + run: | + nuitka3 --onefile --plugin-enable=pyside6 main.py + - name: Prepare Package for Upload + run: | + mv main.bin ~/NUSD-Py + - name: Upload Package + uses: actions/upload-artifact@v4.3.0 + with: + path: ~/NUSD-Py + name: NUSD-Py-macos-bin + build-windows: runs-on: windows-latest diff --git a/requirements.txt b/requirements.txt index 8037aef..1a66b59 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ pyside6 nuitka -libWiiPy \ No newline at end of file +libWiiPy +zstandard \ No newline at end of file