.circleci: build: make with parallel level 2

This commit is contained in:
Yousong Zhou
2020-10-19 10:16:21 +08:00
parent 0918e32b3f
commit cd37a3c1ca

View File

@@ -38,7 +38,7 @@ jobs:
command: |
targets="$(circleci tests glob "cmd/*" | grep -v cmd/host-image | circleci tests split)"
echo $targets | tr ' ' '\n'
make -j3 $targets
make -j2 $targets
ls -lh _output/bin/
- save_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}