Skip to content

Commit 39e4d7a

Browse files
sunshowersbors-libra
authored andcommitted
[ci] switch build-dev command to doing production and full checks
Previously we were doing a full check (without --all-targets), then checks on a few packages. Do this in a more principled manner: * a check of all production code * a check of all code in the workspace Closes: diem#6917
1 parent 9169e14 commit 39e4d7a

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.circleci/config.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -369,19 +369,9 @@ jobs:
369369
- build_setup
370370
- restore_cargo_package_cache
371371
- run:
372-
command: RUST_BACKTRACE=1 cargo xcheck -j 16
372+
command: RUST_BACKTRACE=1 cargo xcheck -j 16 --production
373373
- run:
374-
command: RUST_BACKTRACE=1 cargo xcheck -j 16 -p cli
375-
- run:
376-
command: RUST_BACKTRACE=1 cargo xcheck -j 16 -p cluster-test
377-
- run:
378-
command: RUST_BACKTRACE=1 cargo xcheck -j 16 -p language-benchmarks
379-
- run:
380-
command: RUST_BACKTRACE=1 cargo xcheck -j 16 -p diem-fuzzer
381-
- run:
382-
command: RUST_BACKTRACE=1 cargo xcheck -j 16 -p diem-swarm
383-
- run:
384-
command: RUST_BACKTRACE=1 cargo xcheck -j 16 -p test-generation
374+
command: RUST_BACKTRACE=1 cargo xcheck -j 16 --workspace --all-targets
385375
- run:
386376
command: |
387377
rustup target add powerpc-unknown-linux-gnu

0 commit comments

Comments
 (0)