Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 732 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 732 Bytes

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.