Skip to content

Cross-platform release binaries via GitHub Actions (Linux, macOS, Windows) #5

@vmvarela

Description

@vmvarela

Description

Users need pre-built binaries for Linux, macOS, and Windows so they can curl and run immediately without a Zig toolchain. A GitHub Actions release workflow should build and attach binaries to every tagged release.

Depends on: #8 (CI workflow must be set up first; this workflow extends the same matrix)

Acceptance Criteria

  • CI workflow triggers on push to tags matching v*.*.*
  • Builds static binaries for: x86_64-linux-musl, x86_64-macos, aarch64-macos, x86_64-windows
  • All binaries are attached to the GitHub Release as assets
  • Each asset is named sql-pipe-<target> (or .exe for Windows)
  • SHA256 checksums file is also attached
  • Release notes are auto-generated from merged PRs (uses Release Drafter)

Notes

  • Use zig build -Dtarget=<triple> -Doptimize=ReleaseSafe for cross-compilation
  • Zig can cross-compile without extra toolchains
  • Linux: use -Dtarget=x86_64-linux-musl for a fully static binary
  • Release Drafter requires a config file at .github/release-drafter.yml — create it as part of this issue
  • Do CI workflow: build and test on push/PR (Linux, macOS, Windows) #8 first: the release workflow and the CI workflow share the same Zig build matrix; avoid duplicating the setup

Refinement note (Sprint 1): Added explicit dependency on #8. Added note that Release Drafter config file must be created as part of this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    mvpPart of the Minimum Viable Productpriority:highMust be in the next sprintsize:mMedium — 4 to 8 hoursstatus:readyRefined and ready for sprint selectiontype:choreMaintenance, refactoring, tooling

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions