This repo packages the Cube ADBC driver into release artifacts for consumption by clients like the Elixir ADBC bindings.
- third_party/apache-arrow-adbc: vendored Arrow ADBC sources (required)
- scripts/build.sh: build the shared library
- scripts/package.sh: create a tar.gz for release
-
Ensure FlatBuffers is installed (or set
FLATBUFFERS_DIRto its CMake config dir). -
Build the driver:
./scripts/build.sh
-
Package the tarball:
VERSION=0.1.0 TRIPLET=x86_64-linux-gnu ./scripts/package.sh
The artifact will land in dist/ as:
adbc_driver_cube--.tar.gz
- Tag a release (for example, v0.1.0) and push it.
- GitHub Actions builds the Linux amd64 artifact and attaches it to the release.
- Only Linux amd64 is wired up for now.
- The build uses the vendored Arrow ADBC C sources.
- FlatBuffers is required; set
FLATBUFFERS_DIRif CMake cannot find it.
make buildmake package VERSION=0.1.0 TRIPLET=x86_64-linux-gnumake test(compile C++ tests only)make test_live(run C++ tests; requires Cube server running)