Test musl container in CI (#31)

This commit is contained in:
Taiki Endo
2022-12-11 14:21:01 +09:00
committed by GitHub
parent bbcb7fd5c9
commit 3594558506

View File

@@ -47,3 +47,25 @@ jobs:
- uses: ./
with:
tool: ${{ matrix.tool }}
test-container:
strategy:
fail-fast: false
matrix:
include:
- container: alpine:latest
# cargo-udeps,protoc,valgrind,wasmtime,mdbook,mdbook-linkcheck don't support musl host.
tool: cargo-hack,cargo-llvm-cov,cargo-minimal-versions,parse-changelog,cargo-valgrind,cargo-deny,cross,nextest,shellcheck,shfmt,wasm-pack
runs-on: ubuntu-latest
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install requirements
run: apk add cargo curl bash tar xz
shell: sh
if: startsWith(matrix.container, 'alpine')
- uses: ./
with:
tool: ${{ matrix.tool }}