Implement cubic interpolation #108
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: Rust | |
on: | |
pull_request: | |
branches: [ "*" ] | |
push: | |
branches: [ "main" ] | |
workflow_call: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Format | |
run: cd interpn; cargo fmt --check --verbose | |
- name: Lint | |
run: cd interpn; cargo clippy | |
- name: Build | |
run: cd interpn; cargo build --verbose | |
- name: Run tests | |
run: cd interpn; cargo test --verbose | |
- name: Test no-std | |
run: | | |
cd test_no_std | |
rustup target add thumbv7em-none-eabihf | |
rustup toolchain install nightly | |
cargo +nightly build --verbose |