Merge pull request 'add CI' (#5) from add-ci into main
Reviewed-on: rust/vorago-shared-periphs#5
This commit was merged in pull request #5.
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -10,8 +10,8 @@ jobs:
|
|||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: "thumbv7em-none-eabihf, thumbv6m-none-eabi"
|
targets: "thumbv7em-none-eabihf, thumbv6m-none-eabi"
|
||||||
- run: cargo check --target thumbv7em-none-eabihf
|
- run: cargo check --target thumbv7em-none-eabihf --features vor4x
|
||||||
- run: cargo check --target thumbv6m-none-eabi
|
- run: cargo check --target thumbv6m-none-eabi --features vor1x
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
name: Check formatting
|
name: Check formatting
|
||||||
@@ -27,8 +27,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@nightly
|
- uses: dtolnay/rust-toolchain@nightly
|
||||||
- run: RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --target thumbv6m-none-eabi --features vor1x
|
with:
|
||||||
|
targets: "thumbv7em-none-eabihf, thumbv6m-none-eabi"
|
||||||
- run: RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --target thumbv7em-none-eabihf --features vor4x
|
- run: RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --target thumbv7em-none-eabihf --features vor4x
|
||||||
|
- run: RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --target thumbv6m-none-eabi --features vor1x
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
name: Clippy
|
name: Clippy
|
||||||
@@ -38,5 +40,5 @@ jobs:
|
|||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: "thumbv7em-none-eabihf, thumbv6m-none-eabi"
|
targets: "thumbv7em-none-eabihf, thumbv6m-none-eabi"
|
||||||
- run: cargo clippy --target thumbv7em-none-eabihf -- -D warnings
|
- run: cargo clippy --target thumbv7em-none-eabihf --features vor4x -- -D warnings
|
||||||
- run: cargo clippy --target thumbv6m-none-eabi -- -D warnings
|
- run: cargo clippy --target thumbv6m-none-eabi --features vor1x -- -D warnings
|
||||||
|
|||||||
Reference in New Issue
Block a user