-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (39 loc) · 1.26 KB
/
cross-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Cross-Platform Build
on: push
jobs:
pyinstaller-build-windows:
runs-on: windows-latest
steps:
- name: Build executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.12'
# pyinstaller_ver: '==6.9.0'
spec: 'maestro/maestro.py'
requirements: 'requirements.txt'
upload_exe_with_name: 'maestro-windows'
options: --onedir, --name "maestro", --icon "data/icons/maestro_icon.ico"
pyinstaller-build-mac:
runs-on: macos-12
steps:
- name: Build executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.12'
# pyinstaller_ver: '==6.9.0'
spec: 'maestro/maestro.py'
requirements: 'requirements.txt'
upload_exe_with_name: 'maestro-mac'
options: --onedir, --name "maestro", --icon "data/icons/maestro_icon.icns"
pyinstaller-build-linux:
runs-on: ubuntu-latest
steps:
- name: Build executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.12'
# pyinstaller_ver: '==6.9.0'
spec: 'maestro/maestro.py'
requirements: 'requirements.txt'
upload_exe_with_name: 'maestro-ubuntu'
options: --onedir, --name "maestro"