Skip to content

Commit

Permalink
Added MUSL CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
cry-inc committed Nov 20, 2023
1 parent cbc4464 commit 2ddc228
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build
on: [push, pull_request]
jobs:
Linux:
Linux-Ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -18,6 +18,19 @@ jobs:
run: cargo fmt --all -- --check
- name: Check Docs
run: RUSTDOCFLAGS="-Dwarnings" cargo doc --package cuv
Linux-MUSL:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update Rust
run: rustup toolchain install stable --profile minimal --no-self-update
- name: Install MUSL Toolchain
run: rustup target add x86_64-unknown-linux-musl
- name: Release Build
run: cargo build --release --all --target=x86_64-unknown-linux-musl
- name: Execute Tests
run: cargo test --release --all --target=x86_64-unknown-linux-musl
Windows:
runs-on: windows-latest
steps:
Expand Down

0 comments on commit 2ddc228

Please sign in to comment.