Skip to content

expose low-level i2c control for not-quite-i2c devices #32

expose low-level i2c control for not-quite-i2c devices

expose low-level i2c control for not-quite-i2c devices #32

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
format:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: thumbv7m-none-eabi
override: true
- uses: actions-rs/cargo@v1
with:
command: build
examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: thumbv7m-none-eabi
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --examples
doctest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: thumbv7m-none-eabi
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --doc
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: thumbv7m-none-eabi
override: true
- uses: actions-rs/cargo@v1
with:
command: doc