Add DPF gen eval impl #76
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: CI | |
on: | |
push: | |
branches: [main, "alpha/**"] | |
pull_request: | |
branches: [main, "alpha/**"] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: ["nightly", "stable"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
components: rustfmt, clippy | |
- name: Format | |
run: cargo fmt --check | |
- name: Set feat_toolchain | |
run: echo "feat_toolchain=$(if [[ '${{ matrix.toolchain }}' = 'stable' ]]; then printf 'stable'; fi)" >> "$GITHUB_ENV" | |
- name: Lint | |
run: cargo clippy --no-deps --no-default-features -F "$feat_toolchain" -- -Dwarnings | |
- name: Test | |
run: cargo test --no-default-features -F "$feat_toolchain" |