Add more build options

This commit is contained in:
Prayag committed 2022-04-14 15:54:30 +05:30
1 parent 05a54988d6
commit a288472c26
6 files changed
+144 -2

No files matched your search

+24
View File
@@ -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
+2 -2
View File
@@ -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
+24
View File
@@ -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
+45
View File
@@ -0,0 +1,45 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(['main.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
[],
exclude_binaries=False,
name='JellyPlayer',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='assets/icon.png' )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='JellyPlayer')
+49
View File
@@ -0,0 +1,49 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(['main.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
[],
exclude_binaries=False,
name='JellyPlayer',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='assets/icon.icns' )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='JellyPlayer')
app = BUNDLE(coll,
name='JellyPlayer',
icon='assets/icon.icns',
bundle_identifier=None)
View File
File renamed without changes.