Return characteristic even if next was not cccd #371
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
cd host | |
cargo check | |
cargo fmt --check | |
cargo clippy | |
- name: Test | |
run: | | |
cd host | |
cargo test --lib -- --nocapture | |
examples: | |
runs-on: ubuntu-latest | |
needs: build | |
strategy: | |
matrix: | |
example: [nrf-sdc, serial-hci, esp32] #, apache-nimble] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Add dependencies | |
run: | | |
sudo apt-get install libudev-dev | |
- name: Build example ${{ matrix.example }} | |
working-directory: examples/${{ matrix.example }} | |
env: | |
CARGO_NET_GIT_FETCH_WITH_CLI: "true" | |
run: | | |
cargo fmt --check | |
cargo clippy --locked | |
cargo build --release --locked |