Skip to content

Commit

Permalink
Manual exaustive tests
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Delmas <[email protected]>
  • Loading branch information
tdelmas committed Nov 12, 2023
1 parent f6ba329 commit fd7f5ab
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/exaustive-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Tests

on:
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
name: Tests on rust toolchain ${{ matrix.version }}
strategy:
matrix:
version: [
"nightly",
"stable",
"1.70",
"1.56", # 2021 edition
]

features: [
"",
"std",
"serde",
"libm",
"std,serde",
"std,libm",
"serde,libm",
"std,serde,libm",
]

steps:
- uses: actions/checkout@v3
- run: rustup toolchain install ${{ matrix.version }}
- run: cargo --version
- run: cargo xtask pre-build
- run: cd typed_floats && cargo build --no-default-features --features "${{ matrix.features }}"
- run: cd typed_floats && cargo test --no-default-features --features "${{ matrix.features }}"
- run: cd typed_floats && cargo build --no-default-features --features "${{ matrix.features }}" --release
- run: cd typed_floats && cargo test --no-default-features --features "${{ matrix.features }}" --release

0 comments on commit fd7f5ab

Please sign in to comment.