Add imxrt1180 feature and pads #178
Workflow file for this run
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
# Ensure code is properly formatted with rustfmt | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: rustup component add rustfmt | |
- name: Check library formatting | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --verbose --all -- --check | |
# Lint the library | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
override: true | |
profile: minimal | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --verbose --all-features -- -D warnings | |
name: Lint the library | |
# Run all tests | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run unit and documentation tests | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --verbose --all-features | |
# Check that documentation builds without warnings. | |
doc: | |
runs-on: ubuntu-latest | |
env: | |
RUSTDOCFLAGS: -D warnings | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: rustdoc | |
args: --all-features -- --cfg=docsrs |