jobs:
build:
+ strategy:
+ matrix:
+ rustver: ["stable", "beta", "nightly", "1.36.0"]
+ args: ["", "--features serde", "--features alloc", "--features std", "--release --all-features"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- - name: Build
- run: cargo build --verbose
- - name: Run tests
- run: cargo test --verbose
+ - uses: actions-rs/toolchain@v1
+ with:
+ toolchain: ${{ matrix.rustver }}
+ - uses: actions-rs/cargo@v1
+ with:
+ command: test
+ args: ${{ matrix.args }}