Skip to content

jreleaser/helloworld-rustx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helloworld in Rust

This repository shows how to configure GitHub Actions and JReleaser to:

  • compile a helloworld app for the followign targets:

    • aarch64-apple-darwin

    • x86_64-apple-darwin

    • x86_64-pc-windows-msvc

    • x86_64-unknown-linux-gnu

    • aarch_64-unknown-linux-gnu

  • assemble zip distributions with JReleaser

  • create rolling early-acces releases with JReleaser on every push to main branch

Requires installing [cargo-zigbuild](https://github.com/rust-cross/cargo-zigbuild).

Commands

$ jreleaser assemble
$ jreleaser release
JReleaser requires 2 additional inputs that may be set as environment variables, JRELEASER_PROJECT_VERSION and JRELEASER_GITHUB_TOKEN. More information about environment variable configuration may be found in the guide.