File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 workflow_dispatch :
1515
1616jobs :
17- build-docker :
17+ build-linux :
1818 runs-on : ubuntu-latest
1919 defaults :
2020 run :
3131 run : uv sync --frozen
3232
3333 - name : Build
34+ run : uv run poe nuitka-linux
35+
36+ - name : Upload Linux CLI artifact
37+ uses : actions/upload-artifact@v4
38+ with :
39+ name : cli-linux
40+ path : ./src/cli/app.bin
41+
42+ build-windows :
43+ runs-on : windows-latest
44+ defaults :
45+ run :
46+ working-directory : ./src/cli
47+
48+ steps :
49+ - name : Checkout repository
50+ uses : actions/checkout@v6
51+
52+ - name : Install uv
53+ uses : astral-sh/setup-uv@v7
54+
55+ - name : Install deps with uv
56+ run : uv sync --frozen
57+
58+ - name : Build (Windows) via poe
3459 run : uv run poe nuitka
60+
61+ - name : Upload Windows CLI artifact
62+ uses : actions/upload-artifact@v4
63+ with :
64+ name : cli-windows
65+ path : ./src/cli/app.exe
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ dev = ["poethepoet>=0.39.0"]
2323[tool .poe .tasks ]
2424# Is not possible to build due to type hint error
2525nuitka = " nuitka --standalone --onefile --clang --lto=yes --python-flag=-m --python-flag=-OO --disable-bytecode-cache ./app"
26+ nuitka-linux = " nuitka --standalone --onefile --clang --lto=yes --python-flag=-m --python-flag=-OO --disable-bytecode-cache ./app"
2627nuitka-debug = " nuitka --standalone --onefile --clang --lto=yes --debug --python-flag=-m --python-flag=-OO --disable-bytecode-cache ./app"
2728
2829
You can’t perform that action at this time.
0 commit comments