From fce2106a69ba120287ff91b245adec1ffca5efa3 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sun, 23 Jul 2023 23:08:14 +0000 Subject: [PATCH] Don't try to enable feature critical-section-impl on rp2040-hal-macros --- .github/workflows/build_and_test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 7366c9cb6..9775bc429 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -42,9 +42,13 @@ jobs: with: crate: cargo-hack - name: Test - run: cargo hack test --tests --target x86_64-unknown-linux-gnu --optional-deps --each-feature --features critical-section-impl + run: cargo hack test -p rp2040-hal --tests --target x86_64-unknown-linux-gnu --optional-deps --each-feature --features critical-section-impl - name: Test docs - run: cargo hack test --doc --target x86_64-unknown-linux-gnu --optional-deps --each-feature --features critical-section-impl + run: cargo hack test -p rp2040-hal --doc --target x86_64-unknown-linux-gnu --optional-deps --each-feature --features critical-section-impl + - name: Test macros + run: cargo hack test -p rp2040-hal-macros --tests --target x86_64-unknown-linux-gnu --optional-deps --each-feature + - name: Test macro docs + run: cargo hack test -p rp2040-hal-macros --doc --target x86_64-unknown-linux-gnu --optional-deps --each-feature - name: Clean run: cargo clean udeps: