Skip to content

Commit f3c9245

Browse files
Update CI to check for buildability on MUSL (#82)
1 parent c553989 commit f3c9245

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

+23
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,29 @@ jobs:
3636
env:
3737
MAKE: /usr/local/bin/make-4.4.1
3838

39+
test_musl:
40+
name: Test (stable, alpine-latest)
41+
container: rust:alpine
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: actions/checkout@master
45+
46+
- name: Install make dependencies
47+
run: apk add musl-dev bash curl make tar
48+
49+
- uses: Swatinem/rust-cache@v2
50+
51+
- name: Compile make 4.4.1
52+
uses: ./.github/actions/compile-make
53+
with:
54+
version: 4.4.1
55+
56+
- name: Test against GNU Make 4.4.1
57+
shell: bash
58+
run: cargo test --locked
59+
env:
60+
MAKE: /usr/local/bin/make-4.4.1
61+
3962
rustfmt:
4063
name: Rustfmt
4164
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)