added basic CI file

This commit is contained in:
Robin Müller 2021-11-01 23:41:06 +01:00
parent e97cd64ba6
commit d57b391d21
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 56 additions and 2 deletions

50
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,50 @@
on: [push]
name: build
jobs:
check:
name: Check
runs-on: ubuntu-latest
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
fmt:
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
clippy:
name: Clippy
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 clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings

View File

@ -1,2 +1,6 @@
# va108xx-rs
Peripheral access crate for the VA108xx family devices
# PAC for the Vorago VA108xx microcontroller family
This repository contains the Peripheral Access CRate (PAC) for
Voragos VA108xx series of Cortex-M0 based microcontrollers.
The crate was generated using (`svd2rust`)[https://github.com/rust-embedded/svd2rust].