Skip to content

update CI and features #11

update CI and features

update CI and features #11

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
features: [ "", "arrayvec", "heapless", "vec" ]
rust: [ "nighty", "nightly-1.70.0", "nightly-1.60.0" ]
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Build
run: cargo build --verbose --no-default-features --features ${{ matrix.features }}
- name: Run tests
run: cargo test --verbose --no-default-features --features ${{ matrix.features }}