ci: Windows zip only builds cst-agent; link util for replay tests

os_win.c needs cst_buf_* / cst_utf8_valid from util.c after os_compat was
added to the small replay CMake targets. Release packaging only needs
cst-agent.exe, so bootstrap_windows.sh builds that target alone.
This commit is contained in:
WHC
2026-10-07 21:09:44 +08:00
parent 94e8746091
commit 630e8f4295
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ echo "==> cmake (Windows, TUI)"
cmake -S . -B build-win-tui -G Ninja \
-DCMAKE_TOOLCHAIN_FILE=cmake/mingw-w64-x86_64.cmake \
-DCMAKE_BUILD_TYPE=Release -DCST_BUILD_TUI=ON
cmake --build build-win-tui
# Package only needs the agent binary; skip host-unrunnable Win32 tests.
cmake --build build-win-tui --target cst-agent
echo "==> package"
scripts/package_windows.sh