mirror of
https://github.com/NinjaCheetah/NUSGet.git
synced 2025-04-25 23:21: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
|
pip install -r requirements.txt
|
||||||
- name: Build Package
|
- name: Build Package
|
||||||
run: |
|
run: |
|
||||||
nuitka3 --standalone --plugin-enable=pyside6 main.py
|
nuitka3 --onefile --plugin-enable=pyside6 main.py
|
||||||
- name: Prepare Package for Upload
|
- name: Prepare Package for Upload
|
||||||
run: |
|
run: |
|
||||||
mkdir ~/NUSD-Py-linux-bin
|
mv main.bin ~/NUSD-Py
|
||||||
mv main.dist/* ~/NUSD-Py-linux-bin
|
|
||||||
- name: Upload Package
|
- name: Upload Package
|
||||||
uses: actions/upload-artifact@v4.3.0
|
uses: actions/upload-artifact@v4.3.0
|
||||||
with:
|
with:
|
||||||
path: ~/NUSD-Py-linux-bin
|
path: ~/NUSD-Py
|
||||||
name: NUSD-Py-linux-bin
|
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:
|
build-windows:
|
||||||
|
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
pyside6
|
pyside6
|
||||||
nuitka
|
nuitka
|
||||||
libWiiPy
|
libWiiPy
|
||||||
|
zstandard
|
Loading…
x
Reference in New Issue
Block a user