From 51817e91d6c78ad8e549920d9eb83293125920b4 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 22 Jul 2025 09:56:00 +0200 Subject: [PATCH] add CI --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6b59f6..c474487 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,8 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: targets: "thumbv7em-none-eabihf, thumbv6m-none-eabi" - - run: cargo check --target thumbv7em-none-eabihf - - run: cargo check --target thumbv6m-none-eabi + - run: cargo check --target thumbv7em-none-eabihf --features vor4x + - run: cargo check --target thumbv6m-none-eabi --features vor1x fmt: name: Check formatting @@ -27,8 +27,10 @@ jobs: steps: - uses: actions/checkout@v4 - 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 thumbv6m-none-eabi --features vor1x clippy: name: Clippy @@ -38,5 +40,5 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: targets: "thumbv7em-none-eabihf, thumbv6m-none-eabi" - - run: cargo clippy --target thumbv7em-none-eabihf -- -D warnings - - run: cargo clippy --target thumbv6m-none-eabi -- -D warnings + - run: cargo clippy --target thumbv7em-none-eabihf --features vor4x -- -D warnings + - run: cargo clippy --target thumbv6m-none-eabi --features vor1x -- -D warnings