Alpine (musl libc) Tests #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Alpine (musl libc) Tests | |
on: | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
container: | |
image: 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: 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 }}" |