Skip to content

NSCoder/rust-musl-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action for Rust and MUSL

Action provides an environment with Rust, MUSL and x86_64-unknown-linux-musl target.

Usage

To compile a rust binary/library with x86_64-unknown-linux-musl target:

action "build" {
  env = {
      BUILD_TARGET = "x86_64-unknown-linux-musl"
  }
  uses = "juankaram/rust-musl-action@master"
  args = "cargo build --target $BUILD_TARGET --release"
}

Attribution

Heavily inspired by GitHub Actions, Rust Action and David Lewis Work.

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.