This commit is contained in:
Mateusz Faderewski 2023-02-24 19:26:42 +01:00
parent b69a186bae
commit 89f0866fbe

View File

@ -44,18 +44,19 @@ jobs:
include: include:
- os: windows-latest - os: windows-latest
pyinstaller-build-options: --target-arch=64bit pyinstaller-build-options: --target-arch=64bit
pyinstaller-options: --console --icon ../../assets/sc64_logo_256_256.png pyinstaller-options: --onefile --console --icon ../../assets/sc64_logo_256_256.png
package-name: sc64-windows package-name: sc64-windows
package-options: -c -a -f package-options: -c -a -f
package-extension: zip package-extension: zip
- os: ubuntu-latest - os: ubuntu-latest
pyinstaller-options: --onefile
package-name: sc64-linux package-name: sc64-linux
package-options: -czf package-options: -czf
package-extension: tgz package-extension: tgz
- os: macos-latest - os: macos-latest
pyinstaller-options: --console --icon ../../assets/sc64_logo_256_256.png pyinstaller-options: --onedir --console --icon ../../assets/sc64_logo_256_256.png
package-name: sc64-macos package-name: sc64-macos
package-options: -czf package-options: -czf
package-extension: tgz package-extension: tgz
@ -93,7 +94,7 @@ jobs:
working-directory: sw/pc working-directory: sw/pc
- name: Create sc64.py executable - name: Create sc64.py executable
run: python3 -m PyInstaller --clean --onefile ${{ matrix.pyinstaller-options }} sc64.py run: python3 -m PyInstaller --clean ${{ matrix.pyinstaller-options }} sc64.py
working-directory: sw/pc working-directory: sw/pc
- name: Package executable - name: Package executable