From af02678dee8da8e63c90e2b822f04889843c00d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Wed, 8 Dec 2021 20:04:35 +0100 Subject: [PATCH] CI: Adjust job parallelism to actually match available resources - Some jobs don't actually run in parallel but have the `parallelism` setting enabled. - `soltest_all` could be parallelized much more. --- .circleci/config.yml | 4 +--- .circleci/soltest_all.sh | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 312695ebf..3c47b55c6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -695,7 +695,6 @@ jobs: t_ubu_codecov: <<: *base_ubuntu2004 - parallelism: 6 environment: EVM: << pipeline.parameters.evm-version >> OPTIMIZE: 1 @@ -878,7 +877,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 @@ -937,7 +936,6 @@ jobs: t_ubu_asan_soltest: <<: *base_ubuntu2004 - parallelism: 6 environment: EVM: << pipeline.parameters.evm-version >> OPTIMIZE: 0 diff --git a/.circleci/soltest_all.sh b/.circleci/soltest_all.sh index 0c414593f..5bd5ed9f1 100755 --- a/.circleci/soltest_all.sh +++ b/.circleci/soltest_all.sh @@ -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 ]]