Skip to content

Refactor host API

Refactor host API #377

Workflow file for this run

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