raestro 0.5.0

A Rust-flavoured API Interface for the Pololu Micro-Maestro (6-Channel) Servo Controller Board. Developed for the Raspberry Pi
Documentation
on: [push]

# pi is the UBC Bionics Raspberry Pi
# mb is raunakab's personal Macbook Pro
# both are self-hosted runners, and may not be available to accept jobs at all times
name: Raestro (pi/mb)-Split CI

jobs:
  job-rpi-1:
    name: Check (rpi)
    runs-on: raspberrypi
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - uses: actions-rs/cargo@v1
        with:
          command: check

  job-rpi-2:
    name: Test Suite (rpi)
    runs-on: raspberrypi
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - uses: actions-rs/cargo@v1
        with:
          command: test

  job-mb-1:
    name: Nightly Format (mb)
    runs-on: macbook
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: nightly
          override: true
      - run: rustup component add rustfmt
      - uses: actions-rs/cargo@v1
        with:
          command: fmt
          args: --all -- --check