From d57b391d215ebcd5b1510e4aa39426dcb22e1d44 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 1 Nov 2021 23:41:06 +0100 Subject: [PATCH] added basic CI file --- .github/workflows/ci.yml | 50 ++++++++++++++++++++++++++++++++++++++++ README.md | 8 +++++-- 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..93253b5 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index c43df40..934c8be 100644 --- a/README.md +++ b/README.md @@ -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].