Add experimental macOS workflow

This commit is contained in:
Campbell 2024-04-07 16:22:32 -04:00
parent 43ee461fa3
commit 39e339d702
Signed by: NinjaCheetah
GPG Key ID: B547958AF96ED344
2 changed files with 31 additions and 5 deletions

View File

@ -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

View File

@ -1,3 +1,4 @@
pyside6
nuitka
libWiiPy
zstandard