ci: add release workflow to publish prebuilt SDK binaries - #628
Open
chinaux wants to merge 4 commits into
Open
Conversation
- release.yml: triggered by v* tag push or manual dispatch, creates GitHub Release via softprops/action-gh-release - _build_prebuilt.yml: reusable workflow building zvec SDK (include/ + lib/, shared libs only) for osx-arm64, linux-amd64, linux-arm64 and windows-amd64 with DuckDB-style asset naming
…lock When called via workflow_call, github.workflow resolves to the caller's name, making the reusable workflow compete with the caller for the same concurrency group and deadlocking the run. Concurrency is controlled by the caller (release.yml).
lz4's Makefile.inc defines 'INSTALL_DIR ?= install -d -m 755' as a command, which gets overridden by our INSTALL_DIR environment variable, breaking 'make install' on all Unix platforms. Prefix our env vars with ZVEC_.
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.
Summary
This PR adds a GitHub Release pipeline that publishes prebuilt C++/C SDK binaries, so users can consume zvec directly without building from source.
What's included
New workflows
.github/workflows/release.yml— the release entry point:v*tag, or manually viaworkflow_dispatchwith a tag inputauto-generated notes via
softprops/action-gh-releasealpha/beta/rcare automatically marked as prerelease.github/workflows/_build_prebuilt.yml— reusable build workflow(
workflow_call+workflow_dispatch), building the SDK on 4 platforms in parallelRelease assets
zvec-sdk-linux-amd64.tar.gzubuntu-24.04zvec-sdk-linux-arm64.tar.gzubuntu-24.04-armzvec-sdk-osx-arm64.tar.gzmacos-15zvec-sdk-windows-amd64.zipwindows-2025