feat: fix new_generator (#192) #631
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
on: [push, pull_request] | |
name: Test | |
jobs: | |
test: | |
name: cargo test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- name: test/debug | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
- name: test/release | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --release | |
- name: test/debug features | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
# TODO: re-add all features once https://github.com/rust-lang/packed_simd/pull/341 is used by dalek | |
# args: --all-features | |
args: --features wasm --features ffi --features borsh | |
- name: test/release features | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
# TODO: re-add all features once https://github.com/rust-lang/packed_simd/pull/341 is used by dalek | |
# args: --release --all-features | |
args: --release --features wasm --features ffi --features borsh | |
- name: docs build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: doc | |
args: --features wasm --features ffi | |
- name: bench | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
args: --benches |