Skip to content

[Go] Cross-build Darwin release libraries - #539

Merged
teodordelibasic-db merged 1 commit into
mainfrom
zerobus/go/darwin-ffi-build
Jul 23, 2026
Merged

teodordelibasic-db merged 1 commit into
mainfrom
zerobus/go/darwin-ffi-build

Conversation

@teodordelibasic-db

@teodordelibasic-db teodordelibasic-db commented Jul 20, 2026 •

Copy link
Copy Markdown
Collaborator

What changes are proposed in this pull request?

This PR adds Darwin AMD64 and ARM64 to the Go FFI release matrix. Both static libraries are cross-compiled on Linux with Zig and cargo-zigbuild, then uploaded using the existing go/lib platform directory names.

Go releases require prebuilt libraries for all five supported platforms, but the repository has no macOS runners. Cross-compiling the Darwin libraries removes the manual macOS build step and makes the complete Go release artifact set reproducible in CI.

How is this tested?

  • Build Go SDK FFI libs passed for all five targets: Linux AMD64, Linux ARM64, Darwin AMD64, Darwin ARM64, and Windows AMD64. Each job uploaded its expected artifact.

Signed-off-by: Teodor Delibasic <teodor.delibasic@databricks.com>
@teodordelibasic-db
teodordelibasic-db force-pushed the zerobus/go/darwin-ffi-build branch from 604eeaf to 0055a1d Compare July 23, 2026 12:25
@teodordelibasic-db
teodordelibasic-db requested review from a team and elenagaljak-db July 23, 2026 14:06
@teodordelibasic-db teodordelibasic-db self-assigned this Jul 23, 2026
@teodordelibasic-db
teodordelibasic-db added this pull request to the merge queue Jul 23, 2026
Merged via the queue into main with commit c7fa8ae Jul 23, 2026
26 checks passed
@teodordelibasic-db
teodordelibasic-db deleted the zerobus/go/darwin-ffi-build branch July 23, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants