From 4353f2a92d0d8a7ac7bb8ccb5d97dc5d79e4ebc6 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 7 Feb 2021 03:13:38 +0900 Subject: [PATCH 1/2] raise jobs on CI --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d8a8d15e..96a1901c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -144,7 +144,7 @@ jobs: cache: <<#parameters.postgres>>postgres<><<^parameters.postgres>>sqlite<> - run_with_coverage: cmd: | - cargo build -p plume-cli --no-default-features --features=${FEATURES} -j1 + cargo build -p plume-cli --no-default-features --features=${FEATURES} -j 4 ./target/debug/plm migration run ./target/debug/plm search init cmd="cargo test --all --exclude plume-front --exclude plume-macro --no-run --no-default-features --features=${FEATURES} -j" From 1d46bf8d50339c12557b84154ce8bd257b1c09cb Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 7 Feb 2021 03:28:07 +0900 Subject: [PATCH 2/2] Reduce start jobs on CI --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 96a1901c..87d2e802 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -100,7 +100,7 @@ commands: steps: - run: | cmd="cargo build <<#parameters.release>>--release<> --no-default-features --features="${FEATURES}" -p <> -j" - for i in 36 4 2 1 1; do + for i in 16 4 2 1 1; do $cmd $i && exit 0 done exit 1 @@ -148,7 +148,7 @@ jobs: ./target/debug/plm migration run ./target/debug/plm search init cmd="cargo test --all --exclude plume-front --exclude plume-macro --no-run --no-default-features --features=${FEATURES} -j" - for i in 36 4 2 1 1; do + for i in 16 4 2 1 1; do $cmd $i && break done cargo test --all --exclude plume-front --exclude plume-macro --no-default-features --features="${FEATURES}" -j1 @@ -172,14 +172,14 @@ jobs: - run_with_coverage: cmd: | cmd="cargo install --debug --no-default-features --features="${FEATURES}",test --force --path . -j" - for i in 36 4 2 1 1; do + for i in 16 4 2 1 1; do $cmd $i && exit 0 done exit 1 - run_with_coverage: cmd: | cmd="cargo install --debug --no-default-features --features="${FEATURES}" --force --path plume-cli -j" - for i in 36 4 2 1 1; do + for i in 16 4 2 1 1; do $cmd $i && exit 0 done exit 1