-
Notifications
You must be signed in to change notification settings - Fork 52
[ci] Release workflow: build pre-compiled binaries for Linux, macOS, and Windows #331
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programcomponent: cidifficulty: mediumRequires domain knowledge, ~1-3 daysRequires domain knowledge, ~1-3 dayspriority: p1High value, near-termHigh value, near-termtype: featureNew capability or enhancementNew capability or enhancement
Milestone
Description
Context
There is no binary distribution. Users who are not Rust developers cannot install Sanctifier without cargo install, which takes 3-5 minutes and requires a full Rust toolchain.
What to build
.github/workflows/release.yml:
on:
push:
tags: ['v*']
jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
artifact: sanctifier-linux-amd64
- os: macos-latest
target: x86_64-apple-darwin
artifact: sanctifier-macos-amd64
- os: macos-latest
target: aarch64-apple-darwin
artifact: sanctifier-macos-arm64
- os: windows-latest
target: x86_64-pc-windows-msvc
artifact: sanctifier-windows-amd64.exe
steps:
- uses: actions/checkout@v4
- run: cargo build --release --target ${{ matrix.target }}
- uses: actions/upload-release-asset@v1
with: ...Acceptance criteria
- 4 pre-compiled binaries attached to every GitHub Release
- GitHub Release notes auto-generated from
CHANGELOG.md -
README.mdinstallation section includes:cargo install sanctifier-cli- Direct binary download links for each platform
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programcomponent: cidifficulty: mediumRequires domain knowledge, ~1-3 daysRequires domain knowledge, ~1-3 dayspriority: p1High value, near-termHigh value, near-termtype: featureNew capability or enhancementNew capability or enhancement