mirror of
https://github.com/NinjaCheetah/NUSGet.git
synced 2025-04-25 15:11:02 -04:00
Add experimental macOS workflow
This commit is contained in:
parent
43ee461fa3
commit
39e339d702
33
.github/workflows/python-build.yml
vendored
33
.github/workflows/python-build.yml
vendored
@ -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
|
||||
|
@ -1,3 +1,4 @@
|
||||
pyside6
|
||||
nuitka
|
||||
libWiiPy
|
||||
libWiiPy
|
||||
zstandard
|
Loading…
x
Reference in New Issue
Block a user