Add message schemas and external clients #148
This file contains hidden or 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: | |
| pull_request: | |
| jobs: | |
| rust: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: sudo apt-get update && sudo apt-get install -y pkg-config libudev-dev | |
| - run: cargo fmt --check | |
| - run: cargo clippy --all-targets --all-features -- -D warnings | |
| - run: cargo test --all-targets --all-features | |
| - run: cargo test --no-default-features --features sim,mcp | |
| - run: cargo run --features mcp --bin leash-schema -- --check | |
| - run: cargo package --locked | |
| - run: scripts/smoke-all.sh | |
| feature-matrix: | |
| name: feature-matrix (${{ matrix.name }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: core-only-lib | |
| command: cargo check --no-default-features --lib | |
| - name: default | |
| command: cargo check | |
| - name: mcp-only | |
| command: cargo check --no-default-features --features mcp | |
| - name: http-sim | |
| command: cargo check --no-default-features --features sim,http | |
| - name: hardware-adapter | |
| command: cargo check --no-default-features --features sim,http,mcp,waveshare-ugv,mavlink-drone,manipulator,bridge-compat | |
| - name: all-features | |
| command: cargo check --all-features | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: sudo apt-get update && sudo apt-get install -y pkg-config libudev-dev | |
| - run: ${{ matrix.command }} |