Skip to content

ci: build multi-platform Rust binaries in the deploy job - #462

Open
tinder-maxwellelliott wants to merge 1 commit into
masterfrom
maxwelle/deploy-rust-binaries-ci
Open

ci: build multi-platform Rust binaries in the deploy job#462
tinder-maxwellelliott wants to merge 1 commit into
masterfrom
maxwelle/deploy-rust-binaries-ci

Conversation

@tinder-maxwellelliott

Copy link
Copy Markdown
Collaborator

Summary

  • Extend the CI deploy job into a Linux/macOS/Windows matrix that builds and uploads the same host-native Rust CLI assets used by GitHub Releases
  • Keep JAR + release.tar.gz artifacts on Ubuntu only

Test plan

  • Confirm the deploy matrix runs on ubuntu/macOS/windows
  • Verify workflow artifacts include:
    • bazel-diff_deploy.jar
    • release.tar.gz
    • bazel-diff-rust-linux-amd64
    • bazel-diff-rust-macos-arm64
    • bazel-diff-rust-windows-amd64.exe
  • Spot-check downloaded binaries run --help on their platforms

Made with Cursor

Upload linux/macOS/Windows host-native CLI artifacts alongside the existing JAR and source archive.

Co-authored-by: Cursor <cursoragent@cursor.com>
@csmoe

csmoe commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

The release build of rust should add config like:

[profile.release]
codegen-units = 1
lto = fat

Should improve the perf more(maybe not, but they're common release parameters in rust commmunity)

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