Skip to content

Commit

Permalink
Update CI to check for buildability on MUSL (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
randomairborne committed Apr 12, 2024
1 parent c553989 commit f3c9245
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,29 @@ jobs:
env:
MAKE: /usr/local/bin/make-4.4.1

test_musl:
name: Test (stable, alpine-latest)
container: rust:alpine
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: Install make dependencies
run: apk add musl-dev bash curl make tar

- uses: Swatinem/rust-cache@v2

- name: Compile make 4.4.1
uses: ./.github/actions/compile-make
with:
version: 4.4.1

- name: Test against GNU Make 4.4.1
shell: bash
run: cargo test --locked
env:
MAKE: /usr/local/bin/make-4.4.1

rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
Expand Down

0 comments on commit f3c9245

Please sign in to comment.