@@ -54,14 +54,19 @@ jobs:
5454 run : cargo check -Z features=dev_dep
5555 - run : cargo test
5656 - run : cargo test --no-default-features
57+ - run : cargo test --features portable-atomic
58+ - run : cargo test --no-default-features --features portable-atomic
5759 - name : Install cargo-hack and wasm-pack
5860 uses : taiki-e/install-action@v2
5961 with :
6062 tool : cargo-hack,cargo-minimal-versions,wasm-pack
61- - run : rustup target add thumbv7m-none-eabi
63+ - run : rustup target add thumbv6m-none-eabi thumbv7m-none-eabi
6264 - name : Run cargo check (without dev-dependencies to catch missing feature flags)
63- run : cargo hack build --all --no-dev-deps
64- - run : cargo hack build --all --target thumbv7m-none-eabi --no-default-features --no-dev-deps
65+ run : cargo hack build --feature-powerset --no-dev-deps
66+ - name : Run cargo check for no-std target with atomic CAS
67+ run : cargo hack build --feature-powerset --no-dev-deps --target thumbv7m-none-eabi --skip std,default
68+ - name : Run cargo check for no-std target without atomic CAS
69+ run : cargo hack build --feature-powerset --no-dev-deps --target thumbv6m-none-eabi --skip std,default --features portable-atomic,portable-atomic/critical-section
6570 - name : Run cargo check for WASM
6671 run : cargo check --all --all-features --all-targets --target wasm32-unknown-unknown
6772 - name : Test WASM
7479 - uses : actions/checkout@v4
7580 - name : Install cargo-hack
7681 uses : taiki-e/install-action@cargo-hack
77- - run : cargo hack build --rust-version
78- - run : cargo hack build --no-default-features --rust-version
82+ - run : cargo hack build --feature-powerset --no-dev-deps --rust-version
7983
8084 clippy :
8185 runs-on : ubuntu-latest
0 commit comments