Exaustive Tests #21
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: Exaustive Tests | |
on: | |
schedule: | |
# 1 of the month | |
- cron: '0 0 1 * *' | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_INCREMENTAL: 0 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Tests on rust ${{ matrix.version }} features "${{ matrix.features }}" | |
strategy: | |
matrix: | |
version: [ | |
"beta", | |
"stable", | |
"1.70", | |
] | |
release: [ | |
"", | |
"--release", | |
] | |
features: [ | |
"", | |
"std", | |
"serde", | |
"libm", | |
"std,serde", | |
"std,libm", | |
"serde,libm", | |
"std,serde,libm", | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup default ${{ matrix.version }} | |
- run: cargo xtask pre-build | |
- run: cd typed_floats && cargo build --no-default-features --features "${{ matrix.features }}" ${{ matrix.release }} | |
- run: cd typed_floats && cargo test --no-default-features --features "${{ matrix.features }}" ${{ matrix.release }} |