mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[DEBUG] Test CI run with all jobs using 8 cores (xlarge or large resource class)
This commit is contained in:
parent
4b76a7203a
commit
3cadb1ae89
@ -20,7 +20,7 @@ cd build
|
|||||||
$boost_dir=(Resolve-Path $PSScriptRoot\..\deps\boost\lib\cmake\Boost-*)
|
$boost_dir=(Resolve-Path $PSScriptRoot\..\deps\boost\lib\cmake\Boost-*)
|
||||||
..\deps\cmake\bin\cmake -G "Visual Studio 16 2019" -DBoost_DIR="$boost_dir\" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_INSTALL_PREFIX="$PSScriptRoot\..\upload" -DUSE_Z3=OFF ..
|
..\deps\cmake\bin\cmake -G "Visual Studio 16 2019" -DBoost_DIR="$boost_dir\" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_INSTALL_PREFIX="$PSScriptRoot\..\upload" -DUSE_Z3=OFF ..
|
||||||
if ( -not $? ) { throw "CMake configure failed." }
|
if ( -not $? ) { throw "CMake configure failed." }
|
||||||
msbuild solidity.sln /p:Configuration=Release /m:5 /v:minimal
|
msbuild solidity.sln /p:Configuration=Release /m:10 /v:minimal
|
||||||
if ( -not $? ) { throw "Build failed." }
|
if ( -not $? ) { throw "Build failed." }
|
||||||
..\deps\cmake\bin\cmake --build . -j 5 --target install --config Release
|
..\deps\cmake\bin\cmake --build . -j 10 --target install --config Release
|
||||||
if ( -not $? ) { throw "Install target failed." }
|
if ( -not $? ) { throw "Install target failed." }
|
||||||
|
@ -203,21 +203,23 @@ defaults:
|
|||||||
- base_ubuntu1604_clang: &base_ubuntu1604_clang
|
- base_ubuntu1604_clang: &base_ubuntu1604_clang
|
||||||
docker:
|
docker:
|
||||||
- image: << pipeline.parameters.ubuntu-1604-clang-ossfuzz-docker-image >>
|
- image: << pipeline.parameters.ubuntu-1604-clang-ossfuzz-docker-image >>
|
||||||
|
resource_class: xlarge
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
|
|
||||||
- base_ubuntu2004_clang: &base_ubuntu2004_clang
|
- base_ubuntu2004_clang: &base_ubuntu2004_clang
|
||||||
docker:
|
docker:
|
||||||
- image: << pipeline.parameters.ubuntu-2004-clang-docker-image >>
|
- image: << pipeline.parameters.ubuntu-2004-clang-docker-image >>
|
||||||
|
resource_class: xlarge
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
CC: clang
|
CC: clang
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
MAKEFLAGS: -j 3
|
MAKEFLAGS: -j 10
|
||||||
|
|
||||||
- base_ubuntu2004_clang_xlarge: &base_ubuntu2004_clang_xlarge
|
- base_ubuntu2004_clang_xlarge: &base_ubuntu2004_clang_xlarge
|
||||||
<<: *base_ubuntu2004_clang
|
<<: *base_ubuntu2004_clang
|
||||||
resource_class: xlarge
|
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
CC: clang
|
CC: clang
|
||||||
@ -227,12 +229,13 @@ defaults:
|
|||||||
- base_ubuntu2004: &base_ubuntu2004
|
- base_ubuntu2004: &base_ubuntu2004
|
||||||
docker:
|
docker:
|
||||||
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
||||||
|
resource_class: xlarge
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
|
|
||||||
- base_ubuntu2004_xlarge: &base_ubuntu2004_xlarge
|
- base_ubuntu2004_xlarge: &base_ubuntu2004_xlarge
|
||||||
<<: *base_ubuntu2004
|
<<: *base_ubuntu2004
|
||||||
resource_class: xlarge
|
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
MAKEFLAGS: -j 10
|
MAKEFLAGS: -j 10
|
||||||
@ -240,36 +243,46 @@ defaults:
|
|||||||
- base_buildpack_focal: &base_buildpack_focal
|
- base_buildpack_focal: &base_buildpack_focal
|
||||||
docker:
|
docker:
|
||||||
- image: buildpack-deps:focal
|
- image: buildpack-deps:focal
|
||||||
|
resource_class: xlarge
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
|
|
||||||
- base_buildpack_latest: &base_buildpack_latest
|
- base_buildpack_latest: &base_buildpack_latest
|
||||||
docker:
|
docker:
|
||||||
- image: buildpack-deps:latest
|
- image: buildpack-deps:latest
|
||||||
|
resource_class: xlarge
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
|
|
||||||
- base_archlinux: &base_archlinux
|
- base_archlinux: &base_archlinux
|
||||||
docker:
|
docker:
|
||||||
- image: archlinux:base
|
- image: archlinux:base
|
||||||
|
resource_class: xlarge
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
|
|
||||||
- base_win_powershell: &base_win_powershell
|
- base_win_powershell: &base_win_powershell
|
||||||
executor:
|
executor:
|
||||||
name: win/default
|
name: win/default
|
||||||
shell: powershell.exe
|
shell: powershell.exe
|
||||||
|
size: large
|
||||||
|
|
||||||
- base_win_cmd: &base_win_cmd
|
- base_win_cmd: &base_win_cmd
|
||||||
executor:
|
executor:
|
||||||
name: win/default
|
name: win/default
|
||||||
shell: cmd.exe
|
shell: cmd.exe
|
||||||
|
size: large
|
||||||
|
|
||||||
- base_osx: &base_osx
|
- base_osx: &base_osx
|
||||||
macos:
|
macos:
|
||||||
xcode: "11.0.0"
|
xcode: "11.0.0"
|
||||||
|
resource_class: large
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
|
|
||||||
- base_ems_xlarge: &base_ems_xlarge
|
- base_ems_xlarge: &base_ems_xlarge
|
||||||
docker:
|
docker:
|
||||||
@ -282,14 +295,18 @@ defaults:
|
|||||||
- base_python: &base_python
|
- base_python: &base_python
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/python:3.6
|
- image: circleci/python:3.6
|
||||||
|
resource_class: xlarge
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
|
|
||||||
- base_node_latest: &base_node_latest
|
- base_node_latest: &base_node_latest
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node
|
- image: circleci/node
|
||||||
|
resource_class: xlarge
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# Workflow Templates
|
# Workflow Templates
|
||||||
@ -536,7 +553,7 @@ jobs:
|
|||||||
CC: clang
|
CC: clang
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
CMAKE_OPTIONS: -DSANITIZE=address
|
CMAKE_OPTIONS: -DSANITIZE=address
|
||||||
MAKEFLAGS: -j 3
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: *run_build
|
- run: *run_build
|
||||||
@ -549,7 +566,7 @@ jobs:
|
|||||||
CC: clang
|
CC: clang
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
CMAKE_OPTIONS: -DSANITIZE=undefined
|
CMAKE_OPTIONS: -DSANITIZE=undefined
|
||||||
MAKEFLAGS: -j 3
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: *run_build
|
- run: *run_build
|
||||||
@ -589,10 +606,11 @@ jobs:
|
|||||||
|
|
||||||
t_ubu_codecov:
|
t_ubu_codecov:
|
||||||
<<: *base_ubuntu2004
|
<<: *base_ubuntu2004
|
||||||
parallelism: 6
|
parallelism: 10
|
||||||
environment:
|
environment:
|
||||||
EVM: << pipeline.parameters.evm-version >>
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
OPTIMIZE: 1
|
OPTIMIZE: 1
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
@ -650,7 +668,7 @@ jobs:
|
|||||||
<<: *base_archlinux
|
<<: *base_archlinux
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
MAKEFLAGS: -j 3
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Install build dependencies
|
name: Install build dependencies
|
||||||
@ -666,7 +684,7 @@ jobs:
|
|||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
CMAKE_BUILD_TYPE: Release
|
CMAKE_BUILD_TYPE: Release
|
||||||
MAKEFLAGS: -j 5
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
@ -703,6 +721,7 @@ jobs:
|
|||||||
EVM: << pipeline.parameters.evm-version >>
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
OPTIMIZE: 0
|
OPTIMIZE: 0
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
@ -772,6 +791,7 @@ jobs:
|
|||||||
# 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,
|
||||||
# thus we forgo semantics tests to speed things up.
|
# thus we forgo semantics tests to speed things up.
|
||||||
SOLTEST_FLAGS: --no-semantic-tests
|
SOLTEST_FLAGS: --no-semantic-tests
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Install runtime dependencies
|
name: Install runtime dependencies
|
||||||
@ -788,6 +808,7 @@ jobs:
|
|||||||
SOLTEST_FLAGS: --enforce-via-yul
|
SOLTEST_FLAGS: --enforce-via-yul
|
||||||
OPTIMIZE: 0
|
OPTIMIZE: 0
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
<<: *steps_soltest
|
<<: *steps_soltest
|
||||||
|
|
||||||
t_ubu_clang_soltest: &t_ubu_clang_soltest
|
t_ubu_clang_soltest: &t_ubu_clang_soltest
|
||||||
@ -795,6 +816,7 @@ jobs:
|
|||||||
environment:
|
environment:
|
||||||
EVM: << pipeline.parameters.evm-version >>
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
OPTIMIZE: 0
|
OPTIMIZE: 0
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
<<: *steps_soltest
|
<<: *steps_soltest
|
||||||
|
|
||||||
t_ubu_release_soltest_all: &t_ubu_release_soltest_all
|
t_ubu_release_soltest_all: &t_ubu_release_soltest_all
|
||||||
@ -814,6 +836,7 @@ jobs:
|
|||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
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
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
<<: *steps_cmdline_tests
|
<<: *steps_cmdline_tests
|
||||||
|
|
||||||
t_ubu_asan_soltest:
|
t_ubu_asan_soltest:
|
||||||
@ -824,6 +847,7 @@ jobs:
|
|||||||
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
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
<<: *steps_soltest
|
<<: *steps_soltest
|
||||||
|
|
||||||
t_ubu_asan_clang_soltest:
|
t_ubu_asan_clang_soltest:
|
||||||
@ -833,12 +857,14 @@ jobs:
|
|||||||
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
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
<<: *steps_soltest
|
<<: *steps_soltest
|
||||||
|
|
||||||
t_ubu_ubsan_clang_soltest:
|
t_ubu_ubsan_clang_soltest:
|
||||||
<<: *base_ubuntu2004_clang
|
<<: *base_ubuntu2004_clang
|
||||||
environment:
|
environment:
|
||||||
EVM: << pipeline.parameters.evm-version >>
|
EVM: << pipeline.parameters.evm-version >>
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- when:
|
- when:
|
||||||
condition: true
|
condition: true
|
||||||
@ -877,6 +903,7 @@ jobs:
|
|||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
HARDHAT_TESTS_SOLC_PATH: /tmp/workspace/soljson.js
|
HARDHAT_TESTS_SOLC_PATH: /tmp/workspace/soljson.js
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
@ -912,11 +939,13 @@ jobs:
|
|||||||
default: no
|
default: no
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:<<parameters.nodejs_version>>
|
- image: circleci/node:<<parameters.nodejs_version>>
|
||||||
|
resource_class: xlarge
|
||||||
# NOTE: Each external test does 3 separate compile&test runs
|
# NOTE: Each external test does 3 separate compile&test runs
|
||||||
parallelism: 3
|
parallelism: 3
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
COMPILE_ONLY: <<parameters.compile_only>>
|
COMPILE_ONLY: <<parameters.compile_only>>
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
@ -1058,6 +1087,7 @@ jobs:
|
|||||||
<<: *base_node_latest
|
<<: *base_node_latest
|
||||||
environment:
|
environment:
|
||||||
SOLC_EMSCRIPTEN: "On"
|
SOLC_EMSCRIPTEN: "On"
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
@ -1081,6 +1111,7 @@ jobs:
|
|||||||
bytecode-report-osx-cli.txt
|
bytecode-report-osx-cli.txt
|
||||||
bytecode-report-windows-json.txt
|
bytecode-report-windows-json.txt
|
||||||
bytecode-report-windows-cli.txt
|
bytecode-report-windows-cli.txt
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
|
Loading…
Reference in New Issue
Block a user