Update CI config
This commit is contained in:
parent
92d14246cf
commit
d52a96814c
|
@ -33,15 +33,13 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
|
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
|
||||||
- run: cargo build --all --all-features --all-targets
|
- run: rustup target add thumbv7m-none-eabi
|
||||||
- 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
|
|
||||||
- name: Install cargo-hack
|
- name: Install cargo-hack
|
||||||
uses: taiki-e/install-action@cargo-hack
|
uses: taiki-e/install-action@cargo-hack
|
||||||
- run: rustup target add thumbv7m-none-eabi
|
- run: cargo build --all --all-features --all-targets
|
||||||
- run: cargo hack build --target thumbv7m-none-eabi --no-default-features --no-dev-deps
|
- 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:
|
msrv:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue