release: 双平台发布(linux x86_64 + macOS arm64) - #324
Merged
Merged
Conversation
原 release 只出 linux-x86_64 一个 tarball。改为两个 job: - linux:deps.json 依赖有预编译 ABI,下载安装后打包 - macos(needs: linux):各仓只有 linux tarball,故依赖链 blockmalloc / slotsboxmalloc / kvspace / kvspace-c / kvspace-durable 全部源码构建装 /usr/local(/usr 受 SIP 保护),再构建 runtime + layout 两平台产物布局统一为解包即安装目录: lib/ runtime、layout、blockmalloc、slotsboxmalloc lib/kvspace/ kvspace、kvspace-c、kvspace_durable (libkvspace 随 KVSPACE_LIB_DIR 与后端同目录,与 CMake install 一致) macos job 用 gh release upload 追加到 linux job 创建的 release。 Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
让 kvlang 的 ABI release 同时产出 linux-x86_64 与 darwin-arm64 两个 tarball。
两个 job
linuxci/deps.sh(有预编译 ABI tarball)kvlang-abi-$v-linux-x86_64.tar.gz+SHA256SUMS-linuxmacos(needs: linux)/usr/localkvlang-abi-$v-darwin-arm64.tar.gz+SHA256SUMS-macosmacOS 侧因各仓只发 linux ABI,必须源码构建依赖链;
KVSPACE_LIB_DIR=/usr/local/lib/kvspace(/usr受 SIP 保护)。macOS job 用gh release upload追加到 linux job 创建的 release。布局统一(两平台一致,解包即安装目录)
libkvspace与后端同放lib/kvspace/(与KVSPACE_LIB_DIR、CMake install 的<prefix>/lib/kvspace一致)——这是本次相对上一版的一处布局修正。本地已验证:YAML 合法(jobs=linux,macos)、Linux 打包模拟产出 20 个文件布局正确。
🤖 Generated with Claude Code