on: [push]
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