Skip to content

Alpine (musl libc) Tests #5

Alpine (musl libc) Tests

Alpine (musl libc) Tests #5

Workflow file for this run

name: Alpine (musl libc) Tests
on:
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
container: alpine:3.20
name: Tests on rust ${{ matrix.version }} features "${{ matrix.features }}"
strategy:
matrix:
version: [
"beta",
"stable",
"1.70",
]
features: [
"std,serde",
"std,libm",
]
steps:
- uses: actions/checkout@v3
- run: apk add curl gcc musl-dev
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- run: source $HOME/.cargo/env
- run: rustup default ${{ matrix.version }}
- run: cargo xtask pre-build
- run: cd typed_floats && cargo test --no-default-features --features "${{ matrix.features }}"
- run: cd typed_floats && cargo test --release --no-default-features --features "${{ matrix.features }}"