Skip to content

Commit

Permalink
Fixing what caused the CI to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
orual committed Mar 3, 2024
1 parent 3ea3e21 commit 0897649
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,20 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@beta
- run: cargo test --workspace
with:
target: aarch64-unknown-linux-gnu
- run: cargo test --workspace --target aarch64-unknown-linux-gnu
- uses: Swatinem/rust-cache@v2

test-all-features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@beta
- run: cargo test --workspace --all-features
with:
target: aarch64-unknown-linux-gnu
- run: cargo test --workspace --all-features --target aarch64-unknown-linux-gnu
- uses: Swatinem/rust-cache@v2

build-raspi-64bit:
runs-on: ubuntu-latest
Expand All @@ -35,6 +41,7 @@ jobs:
--workspace
--target aarch64-unknown-linux-gnu
--all-features
- uses: Swatinem/rust-cache@v2

build-raspi-32bit:
runs-on: ubuntu-latest
Expand All @@ -48,6 +55,7 @@ jobs:
--workspace
--target armv7-unknown-linux-gnueabihf
--all-features
- uses: Swatinem/rust-cache@v2

build-raspi-zero:
runs-on: ubuntu-latest
Expand All @@ -61,6 +69,7 @@ jobs:
--workspace
--target arm-unknown-linux-gnueabihf
--all-features
- uses: Swatinem/rust-cache@v2

build-nostd:
runs-on: ubuntu-latest
Expand All @@ -74,4 +83,5 @@ jobs:
-p embedded-hal-ext
--target thumbv7m-none-eabi
--features async,defmt-03
- uses: Swatinem/rust-cache@v2

2 changes: 1 addition & 1 deletion embedded-hal-ext/src/digital.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ impl<T: Event + ?Sized> Event for &mut T {
#[cfg(feature = "async")]
#[inline]
async fn wait_for(self: &mut Self, event: PinEvent) -> Result<PinEvent, Self::Error> {
T::wait_for(e)
T::wait_for(event)
}
}

Expand Down

0 comments on commit 0897649

Please sign in to comment.