Skip to content
settings

GitHub Action

Rust MUSL Builder Slim

v1.0.1 Latest version

Rust MUSL Builder Slim

settings

Rust MUSL Builder Slim

Provides a Rust MUSL environment

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Rust MUSL Builder Slim

uses: davidgraeff/[email protected]

Learn more about this action in davidgraeff/rust-musl-action

Choose a version

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.