This repository was archived by the owner on Sep 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 run : make test
5757
5858 - name : Build standalone binary
59- run : make build
59+ run : make build-bin
6060
6161 - name : Smoke test binary --help
6262 shell : python
Original file line number Diff line number Diff line change 1- name : Release
1+ name : Release (kimi-cli)
22
33on :
44 push :
7474 run : make prepare-build
7575
7676 - name : Build standalone binary
77- run : make build
77+ run : make build-bin
7878
7979 - name : Package artifact
8080 shell : python
@@ -181,7 +181,7 @@ jobs:
181181 version : " 0.8.5"
182182
183183 - name : Build distributions
184- run : uv build --package kimi-cli --no-sources --out-dir dist
184+ run : make build- kimi-cli
185185
186186 - name : Publish to PyPI
187187 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 4747 version : " 0.8.5"
4848
4949 - name : Build distributions
50- run : uv build --package kosong --no-sources --out-dir dist/ kosong
50+ run : make build- kosong
5151
5252 - name : Publish to PyPI
5353 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 4747 version : " 0.8.5"
4848
4949 - name : Build distributions
50- run : uv build --package pykaos --no-sources --out-dir dist/ pykaos
50+ run : make build- pykaos
5151
5252 - name : Publish to PyPI
5353 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -50,8 +50,15 @@ test-kosong: ## Run kosong tests (including doctests).
5050test-pykaos : # # Run pykaos tests.
5151 uv run --project packages/kaos --directory packages/kaos pytest tests -vv
5252
53- .PHONY : build
54- build : # # Build the standalone executable with PyInstaller.
53+ .PHONY : build build-kimi-cli build-kosong build-pykaos build-bin
54+ build : build-kimi-cli build-kosong build-pykaos # # Build Python packages for release.
55+ build-kimi-cli : # # Build the kimi-cli sdist and wheel.
56+ uv build --package kimi-cli --no-sources --out-dir dist
57+ build-kosong : # # Build the kosong sdist and wheel.
58+ uv build --package kosong --no-sources --out-dir dist/kosong
59+ build-pykaos : # # Build the pykaos sdist and wheel.
60+ uv build --package pykaos --no-sources --out-dir dist/pykaos
61+ build-bin : # # Build the standalone executable with PyInstaller.
5562 uv run pyinstaller kimi.spec
5663
5764.PHONY : ai-test
Original file line number Diff line number Diff line change @@ -192,6 +192,8 @@ make test # run tests
192192make test-kimi-cli # run Kimi CLI tests only
193193make test-kosong # run kosong tests only
194194make test-pykaos # run pykaos tests only
195+ make build # build python packages
196+ make build-bin # build standalone binary
195197make help # show all make targets
196198```
197199
You can’t perform that action at this time.
0 commit comments