diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9baf4cf..24ab7f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,15 +33,13 @@ jobs: - uses: actions/checkout@v3 - name: Install Rust run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }} - - run: cargo build --all --all-features --all-targets - - name: Run cargo check (without dev-dependencies to catch missing feature flags) - if: startsWith(matrix.rust, 'nightly') - run: cargo check -Z features=dev_dep - - run: cargo test + - run: rustup target add thumbv7m-none-eabi - name: Install cargo-hack uses: taiki-e/install-action@cargo-hack - - run: rustup target add thumbv7m-none-eabi - - run: cargo hack build --target thumbv7m-none-eabi --no-default-features --no-dev-deps + - run: cargo build --all --all-features --all-targets + - run: cargo hack build --feature-powerset --no-dev-deps + - run: cargo hack build --feature-powerset --no-dev-deps --target thumbv7m-none-eabi + - run: cargo test msrv: runs-on: ubuntu-latest