Add more build options
This commit is contained in:
6 files changed
+144
-2
No files matched your search
@@ -0,0 +1,24 @@
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- run: pip install -r requirements.txt pyinstaller
|
||||
- run: pyinstaller main_linux.spec
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: JellyPlayer_Linux
|
||||
path: |
|
||||
dist/*
|
||||
main.spec
|
||||
@@ -15,10 +15,10 @@ jobs:
|
||||
python-version: 3.9
|
||||
|
||||
- run: pip install -r requirements.txt pyinstaller
|
||||
- run: pyinstaller --windowed --name JellyPlayer --icon assets/icon.icns --osx-bundle-identifier "prayag17.jellyplayer.0.1.0" main.py
|
||||
- run: pyinstaller main_macos.spec
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: JellyPlayer
|
||||
name: JellyPlayer_MacOS
|
||||
path: |
|
||||
dist/*
|
||||
main.spec
|
||||
@@ -0,0 +1,24 @@
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: 'windows-latest'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- run: pip install -r requirements.txt pyinstaller
|
||||
- run: pyinstaller main_win.spec
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: JellyPlayer_Win
|
||||
path: |
|
||||
dist/*
|
||||
main.spec
|
||||
Reference in new issue
Block a user