Add num-traits
for no-std
#110
Workflow file for this run
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: Tests | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
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 | |
] | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cargo xtask pre-build | |
- run: rustup toolchain install ${{ matrix.version }} | |
- run: cd typed_floats && ./tests-ci.sh | |
clippy: | |
runs-on: ubuntu-latest | |
name: Clippy | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cargo xtask pre-build | |
- run: cargo clippy --verbose |