@@ -52,74 +52,3 @@ steps:
5252 " --outdir=dist" ,
5353 " --verbose" ,
5454 ]
55-
56- - name : 🛠️ Build standalone binary distribution
57- run :
58- [
59- " python" ,
60- " -m" ,
61- " nuitka" ,
62- " --standalone" ,
63- " --warn-unusual-code" ,
64- " --jobs=${{ nproc }}" ,
65- " --output-filename=${{ project.name }}" ,
66- " --output-dir=build" ,
67- " --show-progress" ,
68- " --show-memory" ,
69- " --show-modules" ,
70- " --windows-icon-from-ico=${{ icon_file }}" ,
71- " --macos-app-icon=${{ icon_file }}" ,
72- " --linux-icon=${{ icon_file }}" ,
73- " --company-name=${{ group }}" ,
74- " --product-name=${{ project.name }}" ,
75- " --file-version=${{ project.version }}.0" ,
76- " --product-version=${{ project.version }}" ,
77- " --file-description=${{ project.description }} main executable" ,
78- " --copyright=${{ copyright }}" ,
79- " ${{ project.name }}" ,
80- ]
81-
82- - name : 🛠️ Build onefile standalone binary distribution
83- run :
84- [
85- " python" ,
86- " -m" ,
87- " nuitka" ,
88- " --onefile" ,
89- " --standalone" ,
90- " --warn-unusual-code" ,
91- " --jobs=${{ nproc }}" ,
92- " --output-filename=${{ project.name }}" ,
93- " --output-dir=build" ,
94- " --show-progress" ,
95- " --show-memory" ,
96- " --show-modules" ,
97- " --windows-icon-from-ico=${{ icon_file }}" ,
98- " --macos-app-icon=${{ icon_file }}" ,
99- " --linux-icon=${{ icon_file }}" ,
100- " --company-name=${{ group }}" ,
101- " --product-name=${{ project.name }}" ,
102- " --file-version=${{ project.version }}.0" ,
103- " --product-version=${{ project.version }}" ,
104- " --file-description=${{ project.description }} main executable" ,
105- " --copyright=${{ copyright }}" ,
106- " ${{ project.name }}" ,
107- ]
108-
109- - name : 📦 Rename the distribution directory
110- copy : build/${{ project.name }}.dist
111- to : ${{ project.name }}-standalone-${{ host.machine }}-${{ project.version }}
112-
113- - name : 📦 Copy files to distribution directory
114- copy : LICENSE
115- to : ${{ project.name }}-standalone-${{ host.machine }}-${{ project.version }}/LICENSE
116-
117- - name : 📦 Packing the standalone distribution
118- compress : ${{ project.name }}-standalone-${{ host.machine }}-${{ project.version }}
119- to : dist/${{ project.name }}-standalone-${{ host.machine }}-${{ project.version }}
120- format : [zip, tar.xz]
121-
122- - name : 📦 Packing the onefile standalone distribution
123- compress : build/${{ project.name }}
124- to : dist/${{ project.name }}-onefile-standalone-${{ host.machine }}-${{ project.version }}
125- format : [zip, tar.xz]
0 commit comments