type state is overkill for this #22
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
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 |