Skip to content

davidgraeff/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

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action for Rust and MUSL

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

Usage

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

name: Static Musl Build

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest
    steps:
    - uses: davidgraeff/rust-musl-action@master
    - uses: actions/checkout@master
    - name: Build and Test
      run: cargo test --target x86_64-unknown-linux-musl

License

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

About

GitHub Action for Rust and MUSL

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 80.3%
  • Shell 14.9%
  • Rust 4.8%