File tree 1 file changed +5
-7
lines changed 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -33,21 +33,19 @@ jobs:
33
33
- uses : actions/checkout@v3
34
34
- name : Install Rust
35
35
run : rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
36
+ - run : rustup target add thumbv7m-none-eabi
37
+ - name : Install cargo-hack
38
+ uses : taiki-e/install-action@cargo-hack
36
39
- run : cargo build --all --all-features --all-targets
37
- - name : Run cargo check (without dev-dependencies to catch missing feature flags)
38
- if : startsWith(matrix.rust, 'nightly')
39
- run : cargo check -Z features=dev_dep
40
+ - run : cargo hack build --feature-powerset --no-dev-deps
41
+ - run : cargo hack build --feature-powerset --no-dev-deps --target thumbv7m-none-eabi --skip std,default
40
42
- run : cargo test
41
43
- run : cargo test --features portable-atomic
42
- - name : Install cargo-hack
43
- uses : taiki-e/install-action@cargo-hack
44
44
- name : Run with Loom enabled
45
45
run : cargo test --test loom --features loom
46
46
env :
47
47
RUSTFLAGS : ${{ env.RUSTFLAGS }} --cfg loom
48
48
LOOM_MAX_PREEMPTIONS : 2
49
- - run : rustup target add thumbv7m-none-eabi
50
- - run : cargo hack build --target thumbv7m-none-eabi --no-default-features --no-dev-deps
51
49
52
50
msrv :
53
51
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments