aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
diff options
context:
space:
mode:
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 70eb080..ac0fae1 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -51,6 +51,12 @@ jobs:
name: Log rustc version
command: rustc --version
- run:
+ name: Build main target
+ # update first to select dependencies appropriate for this toolchain
+ command: |
+ cargo update
+ cargo build
+ - run:
name: Check formatting
command: |
rustup component add rustfmt
@@ -65,9 +71,6 @@ jobs:
cargo clippy --all-targets
fi
- run:
- name: Build main target
- command: cargo build
- - run:
name: Build all targets
command: |
if [[ '<< parameters.toolchain_override >>' != '__msrv__' ]]