Skip to content

Commit

Permalink
.circleci: run with parallel level 3
Browse files Browse the repository at this point in the history
Resources: 2CPU/4096MB
  • Loading branch information
yousong committed May 27, 2020
1 parent 8e40ff6 commit e80c938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- checkout
- run:
command: |
make check
make -j3 check
build:
requires:
- check
Expand All @@ -38,7 +38,7 @@ jobs:
command: |
targets="$(circleci tests glob "cmd/*" | grep -v cmd/host-image | circleci tests split)"
echo $targets | tr ' ' '\n'
make $targets
make -j3 $targets
ls -lh _output/bin/
- save_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
Expand Down

0 comments on commit e80c938

Please sign in to comment.