Skip to content

Commit

Permalink
Build musl
Browse files Browse the repository at this point in the history
  • Loading branch information
theirix committed Sep 5, 2023
1 parent e43b340 commit 1976be4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,23 @@ jobs:
with:
command: clippy
args: -- -D warnings

musl:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: x86_64-unknown-linux-musl

- name: Install cross
run: cargo install cross

- name: Build artifact
run: cross build --release --target=x86_64-unknown-linux-musl

0 comments on commit 1976be4

Please sign in to comment.