mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Circle CI: Introduce default evm version parameter; remove hard-coded setting.
This commit is contained in:
parent
208ba61ee6
commit
427aec2cb4
@ -23,6 +23,9 @@ parameters:
|
|||||||
type: string
|
type: string
|
||||||
# solbuildpackpusher/solidity-buildpack-deps:emscripten-6
|
# solbuildpackpusher/solidity-buildpack-deps:emscripten-6
|
||||||
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:092da5817bc032c91a806b4f73db2a1a31e5cc4c066d94d43eedd9f365df7154"
|
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:092da5817bc032c91a806b4f73db2a1a31e5cc4c066d94d43eedd9f365df7154"
|
||||||
|
evm-version:
|
||||||
|
type: string
|
||||||
|
default: london
|
||||||
|
|
||||||
orbs:
|
orbs:
|
||||||
win: circleci/windows@2.2.0
|
win: circleci/windows@2.2.0
|
||||||
@ -523,7 +526,7 @@ jobs:
|
|||||||
t_ubu_codecov:
|
t_ubu_codecov:
|
||||||
<<: *test_ubuntu2004
|
<<: *test_ubuntu2004
|
||||||
environment:
|
environment:
|
||||||
EVM: constantinople
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
OPTIMIZE: 1
|
OPTIMIZE: 1
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
@ -642,7 +645,7 @@ jobs:
|
|||||||
macos:
|
macos:
|
||||||
xcode: "11.0.0"
|
xcode: "11.0.0"
|
||||||
environment:
|
environment:
|
||||||
EVM: constantinople
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
OPTIMIZE: 0
|
OPTIMIZE: 0
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
steps:
|
steps:
|
||||||
@ -731,7 +734,7 @@ jobs:
|
|||||||
# See https://github.com/ethereum/solidity/pull/11332
|
# See https://github.com/ethereum/solidity/pull/11332
|
||||||
- image: archlinux:base-20210131.0.14634
|
- image: archlinux:base-20210131.0.14634
|
||||||
environment:
|
environment:
|
||||||
EVM: constantinople
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
OPTIMIZE: 0
|
OPTIMIZE: 0
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
# For Archlinux we do not have prebuilt docker images and we would need to build evmone from source,
|
# For Archlinux we do not have prebuilt docker images and we would need to build evmone from source,
|
||||||
@ -756,7 +759,7 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
||||||
environment:
|
environment:
|
||||||
EVM: constantinople
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
SOLTEST_FLAGS: --enforce-via-yul
|
SOLTEST_FLAGS: --enforce-via-yul
|
||||||
OPTIMIZE: 0
|
OPTIMIZE: 0
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
@ -772,7 +775,7 @@ jobs:
|
|||||||
t_ubu_clang_soltest: &t_ubu_clang_soltest
|
t_ubu_clang_soltest: &t_ubu_clang_soltest
|
||||||
<<: *test_ubuntu2004_clang
|
<<: *test_ubuntu2004_clang
|
||||||
environment:
|
environment:
|
||||||
EVM: constantinople
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
OPTIMIZE: 0
|
OPTIMIZE: 0
|
||||||
|
|
||||||
t_ubu_release_soltest: &t_ubu_release_soltest
|
t_ubu_release_soltest: &t_ubu_release_soltest
|
||||||
@ -795,23 +798,25 @@ jobs:
|
|||||||
ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2
|
ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2
|
||||||
<<: *run_cmdline_tests_steps
|
<<: *run_cmdline_tests_steps
|
||||||
|
|
||||||
t_ubu_asan_constantinople:
|
t_ubu_asan:
|
||||||
<<: *test_asan
|
<<: *test_asan
|
||||||
environment:
|
environment:
|
||||||
EVM: constantinople
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
OPTIMIZE: 0
|
OPTIMIZE: 0
|
||||||
SOLTEST_FLAGS: --no-smt
|
SOLTEST_FLAGS: --no-smt
|
||||||
ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2
|
ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2
|
||||||
|
|
||||||
t_ubu_asan_constantinople_clang:
|
t_ubu_asan_clang:
|
||||||
<<: *test_ubuntu2004_clang
|
<<: *test_ubuntu2004_clang
|
||||||
environment:
|
environment:
|
||||||
EVM: constantinople
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
OPTIMIZE: 0
|
OPTIMIZE: 0
|
||||||
SOLTEST_FLAGS: --no-smt
|
SOLTEST_FLAGS: --no-smt
|
||||||
ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2
|
ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2
|
||||||
|
|
||||||
t_ubu_ubsan_clang:
|
t_ubu_ubsan_clang:
|
||||||
|
environment:
|
||||||
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
docker:
|
docker:
|
||||||
- image: << pipeline.parameters.ubuntu-2004-clang-docker-image >>
|
- image: << pipeline.parameters.ubuntu-2004-clang-docker-image >>
|
||||||
steps:
|
steps:
|
||||||
@ -1230,8 +1235,8 @@ workflows:
|
|||||||
# ASan build and tests
|
# ASan build and tests
|
||||||
- b_ubu_asan: *workflow_trigger_on_tags
|
- b_ubu_asan: *workflow_trigger_on_tags
|
||||||
- b_ubu_asan_clang: *workflow_trigger_on_tags
|
- b_ubu_asan_clang: *workflow_trigger_on_tags
|
||||||
- t_ubu_asan_constantinople: *workflow_ubuntu2004_asan
|
- t_ubu_asan: *workflow_ubuntu2004_asan
|
||||||
- t_ubu_asan_constantinople_clang: *workflow_ubuntu2004_asan_clang
|
- t_ubu_asan_clang: *workflow_ubuntu2004_asan_clang
|
||||||
- t_ubu_asan_cli: *workflow_ubuntu2004_asan
|
- t_ubu_asan_cli: *workflow_ubuntu2004_asan
|
||||||
|
|
||||||
# UBSan build and tests
|
# UBSan build and tests
|
||||||
|
Loading…
Reference in New Issue
Block a user