Skip to content

Commit

Permalink
CI for all targets w/o default features
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallpierce committed Sep 24, 2023
1 parent 9eaf503 commit 6161e4f
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,26 @@ jobs:
- run:
name: Build all targets
command: |
if [[ '<< parameters.toolchain_override >>' != '__msrv__' ]]
if [[ '<< parameters.toolchain_override >>' != '__msrv__' ]] && [[ '<< parameters.toolchain_override >>' != '1.60.0' ]]
then
cargo build --all-targets
fi
- run:
name: Build without default features
command: cargo build --no-default-features
command: |
cargo build --no-default-features
if [[ '<< parameters.toolchain_override >>' != '__msrv__' ]]
then
cargo build --no-default-features --all-targets
fi
- run:
name: Build with only alloc
command: cargo build --no-default-features --features alloc
command: |
cargo build --no-default-features --features alloc
if [[ '<< parameters.toolchain_override >>' != '__msrv__' ]]
then
cargo build --no-default-features --features alloc --all-targets
fi
- run:
name: Add arm toolchain
command: rustup target add thumbv6m-none-eabi
Expand All @@ -95,7 +105,8 @@ jobs:
command: |
if [[ '<< parameters.toolchain_override >>' != '__msrv__' ]]
then
cargo test --verbose
cargo test --no-default-features
cargo test
fi
- run:
name: Build docs
Expand Down

0 comments on commit 6161e4f

Please sign in to comment.