Skip to content

benches: fix compilation errors (#645) #536

benches: fix compilation errors (#645)

benches: fix compilation errors (#645) #536

Workflow file for this run

name: deoxys
on:
pull_request:
paths:
- ".github/workflows/deoxys.yml"
- "deoxys/**"
- "Cargo.*"
push:
branches: master
defaults:
run:
working-directory: deoxys
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- stable
target:
- armv7a-none-eabi
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --release --no-default-features --lib
- run: cargo test --release
- run: cargo test --release --features stream,std
- run: cargo test --release --all-features