diff --git a/.circleci/config.yml b/.circleci/config.yml index 9e4b9ce..54764da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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