build: Initial musl support

Fix all build failures and add musl to the gihub workflows.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz
2020-04-20 08:07:17 +02:00
committed by Rob Bradford
parent a5de49558e
commit 86fcd19b8a
4 changed files with 32 additions and 11 deletions

View File

@@ -12,6 +12,9 @@ jobs:
- stable
- beta
- nightly
target:
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
steps:
- name: Code checkout
uses: actions/checkout@v2
@@ -19,7 +22,8 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- name: Build
run: cargo build --release
run: cargo build --release --target=${{ matrix.target }}