Add defmt, bump heapless, add additional CI build variants, fix serde+no_std #41
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: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Build serde | |
run: cargo build --verbose --features=derive | |
- name: Run tests serde | |
run: cargo test --verbose --features=derive | |
- name: Build no_std | |
run: cargo build --verbose --no-default-features | |
- name: Run tests no_std | |
run: cargo test --verbose --no-default-features | |
- name: Build no_std | |
run: cargo build --verbose --no-default-features --features=derive | |
- name: Run tests no_std | |
run: cargo test --verbose --no-default-features --features=derive | |
- name: Build defmt | |
run: cargo build --verbose --no-default-features --features=defmt | |
- name: Run tests defmt | |
run: cargo test --verbose --no-default-features --features=defmt | |
- name: Build defmt derive | |
run: cargo build --verbose --no-default-features --features=defmt --features=derive | |
- name: Run tests defmt derive | |
run: cargo test --verbose --no-default-features --features=defmt --features=derive | |