This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6026 from EOSIO/develop
Release 1.4.0
- Loading branch information
Showing
131 changed files
with
5,487 additions
and
3,624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
steps: | ||
- command: | | ||
echo "--- :hammer: Building with Undefined Sanitizer" && \ | ||
/usr/bin/cmake -GNinja \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_CXX_COMPILER=clang++-4.0 \ | ||
-DCMAKE_C_COMPILER=clang-4.0 \ | ||
-DBOOST_ROOT="${BOOST_ROOT}" \ | ||
-DWASM_ROOT="${WASM_ROOT}" \ | ||
-DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" \ | ||
-DBUILD_MONGO_DB_PLUGIN=true \ | ||
-DENABLE_COVERAGE_TESTING=true\ | ||
-DBUILD_DOXYGEN=false -DCMAKE_CXX_FLAGS="-fsanitize=undefined -fsanitize-recover=all -g -fno-omit-frame-pointer" \ | ||
-DCMAKE_C_FLAGS="-fsanitize=undefined -fsanitize-recover=all -g -fno-omit-frame-pointer" \ | ||
-DCMAKE_EXE_LINKER_FLAGS="-fsanitize=undefined -fsanitize-recover=all -rtlib=compiler-rt -lgcc_s -pthread" \ | ||
-DCMAKE_MODULE_LINKER_FLAGS="-fsanitize=undefined -fsanitize-recover=all -rtlib=compiler-rt -lgcc_s -pthread" && \ | ||
echo "--- :shinto_shrine: Running ninja" && \ | ||
/usr/bin/ninja | tee ninja.log && \ | ||
echo "--- :compression: Compressing build directory" && \ | ||
tar -pczf build.tar.gz * | ||
echo "--- :beers: Done" | ||
label: ":_: Undefined Sanitizer" | ||
agents: | ||
- "role=automation-builder-large" | ||
artifact_paths: | ||
- "build.tar.gz" | ||
- "ninja.log" | ||
plugins: | ||
docker#v1.4.0: | ||
image: "eosio/ci:ubuntu18" | ||
command: ["--privileged"] | ||
workdir: /data/job | ||
mounts: | ||
- /etc/buildkite-agent/config:/config | ||
environment: | ||
- BOOST_ROOT=/root/opt/boost | ||
- OPENSSL_ROOT_DIR=/usr/include/openssl | ||
- WASM_ROOT=/root/opt/wasm | ||
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/opt/wasm/bin | ||
- CI=true | ||
- UBSAN_OPTIONS=print_stacktrace=1 | ||
timeout: 60 | ||
- wait | ||
|
||
- command: | | ||
echo "--- :arrow_down: Downloading build directory" && \ | ||
buildkite-agent artifact download "build.tar.gz" . --step ":_: Undefined Sanitizer" && \ | ||
tar -zxf build.tar.gz --no-same-owner && \ | ||
echo "--- :m: Starting MongoDB" && \ | ||
$(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ | ||
echo "+++ :microscope: Running tests" && \ | ||
ctest -j8 -LE _tests -V -O sanitizer.log | ||
label: ":_: Undefined Sanitizer Tests" | ||
agents: | ||
- "role=automation-builder-large" | ||
artifact_paths: | ||
- "mongod.log" | ||
- "sanitizer.log" | ||
plugins: | ||
docker#v1.4.0: | ||
image: "eosio/ci:ubuntu18" | ||
workdir: /data/job | ||
mounts: | ||
- /etc/buildkite-agent/config:/config | ||
timeout: 120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- PLEASE FILL OUT THE FOLLOWING MARKDOWN TEMPLATE --> | ||
<!-- Give your PR a title that is sufficient to understand what is being changed. --> | ||
|
||
**Change Description** | ||
|
||
<!-- Describe the change you made, the motivation for it, and the impact it will have. Reference issues or pull requests where possible (use '#XX' or 'GH-XX' where XX is the issue or pull request number). --> | ||
|
||
**Consensus Changes** | ||
|
||
<!-- If this PR introduces a change to the validation of blocks in the chain or consensus in general, please describe the impact. --> | ||
|
||
|
||
**API Changes** | ||
|
||
<!-- If this PR introduces API changes, please describe the changes here. What will developers need to know before upgrading to this version? --> | ||
|
||
|
||
**Documentation Additions** | ||
|
||
<!-- List all the information that needs to be added to the documentation after merge. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.