Skip to content

Commit

Permalink
Merge pull request ethereum#12387 from ethereum/ci-adjust-parallelism
Browse files Browse the repository at this point in the history
[CI] Adjust job parallelism to actually match available resources
  • Loading branch information
chriseth authored Dec 13, 2021
2 parents 592ac92 + af02678 commit 2f90f2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,6 @@ jobs:

t_ubu_codecov:
<<: *base_ubuntu2004
parallelism: 6
environment:
EVM: << pipeline.parameters.evm-version >>
OPTIMIZE: 1
Expand Down Expand Up @@ -885,7 +884,7 @@ jobs:

t_ubu_soltest_all: &t_ubu_soltest_all
<<: *base_ubuntu2004
parallelism: 6
parallelism: 15 # 7 EVM versions, each with/without optimization + 1 ABIv1/@nooptions run
<<: *steps_soltest_all

t_archlinux_soltest: &t_archlinux_soltest
Expand Down Expand Up @@ -944,7 +943,6 @@ jobs:

t_ubu_asan_soltest:
<<: *base_ubuntu2004
parallelism: 6
environment:
EVM: << pipeline.parameters.evm-version >>
OPTIMIZE: 0
Expand Down
1 change: 1 addition & 0 deletions .circleci/soltest_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ REPODIR="$(realpath "$(dirname "$0")"/..)"
# shellcheck source=scripts/common.sh
source "${REPODIR}/scripts/common.sh"

# NOTE: If you add/remove values, remember to update `parallelism` setting in CircleCI config.
EVM_VALUES=(homestead byzantium constantinople petersburg istanbul berlin london)
DEFAULT_EVM=london
[[ " ${EVM_VALUES[*]} " =~ $DEFAULT_EVM ]]
Expand Down

0 comments on commit 2f90f2e

Please sign in to comment.