Skip to content

Commit

Permalink
Add PyInstaller-Action-Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ddugovic committed Nov 24, 2022
1 parent d516ee7 commit 8393312
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,12 @@ jobs:
- name: Test with pytest
run: |
pytest
- name: Package Application
uses: Alcance-Innovation-Consulting/pyinstaller-action-windows@main
with:
path: .
spec: tsumemi.spec
- uses: actions/upload-artifact@v2
with:
name: tsumemi
path: dist/windows
34 changes: 34 additions & 0 deletions tsumemi.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(['tsumemi_launcher.py'],
pathex=['/home/tsumemi/tsumemi'],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=True,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='tsumemi',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True )

0 comments on commit 8393312

Please sign in to comment.