8989 mode : onefile
9090 output-file : sephera.exe
9191 output-dir : build/cli
92-
93- - name : Build GUI App for Linux
94- shell : bash
95- run : |
96- if [[ "${{ runner.os }}" == "Linux" ]]; then
97- THREADS=$(nproc)
98-
99- python3 -m nuitka gui/main.py \
100- --onefile \
101- --enable-plugins=pyqt5 \
102- --lto=yes \
103- --clang \
104- --show-progress \
105- --static-libpython=yes \
106- --job="$THREADS" \
107- --output-dir=build/gui \
108- --output-filename=sephera-gui
109- fi
110-
111- - name : Build GUI App for macOS
112- shell : bash
113- run : |
114- if [[ "${{ runner.os }}" == "macOS" ]]; then
115- THREADS=$(sysctl -n hw.logicalcpu)
116- python3 -m nuitka gui/main.py \
117- --onefile \
118- --clang \
119- --enable-plugins=pyqt5 \
120- --show-progress \
121- --static-libpython=yes \
122- --macos-create-app-bundle \
123- --lto=yes \
124- --jobs="$THREADS" \
125- --output-dir=build/gui \
126- --output-filename=sephera-gui
127- fi
128-
129- - name : Build GUI App for Windows
130- if : runner.os == 'Windows'
131-
132- uses : Nuitka/Nuitka-Action@main
133- with :
134- nuitka-version : main
135- script-name : gui/main.py
136- mode : onefile
137- output-file : sephera-gui.exe
138- output-dir : build/gui
13992
14093 - name : Upload artifacts for Windows
14194 if : runner.os == 'Windows'
14598 name : sephera-${{ runner.os }}
14699 path : |
147100 build/cli/sephera.exe
148- build/gui/sephera-gui.exe
149101
150102 - name : Upload Artifacts for Linux
151103 if : runner.os == 'Linux'
@@ -155,7 +107,6 @@ jobs:
155107 name : sephera-${{ runner.os }}
156108 path : |
157109 build/cli/sephera
158- build/gui/sephera-gui
159110
160111 - name : Upload artifacts for macOS
161112 if : runner.os == 'macOS'
@@ -165,4 +116,3 @@ jobs:
165116 name : sephera-${{ runner.os }}
166117 path : |
167118 build/cli/sephera
168- build/gui/sephera-gui
0 commit comments