2019-04-26 09:57:49 +00:00
|
|
|
# vim:ts=2:sw=2:et
|
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
# Prefixes used in order to keep CircleCI workflow overview more readable:
|
|
|
|
# - b: build
|
|
|
|
# - t: test
|
|
|
|
# - ubu: ubuntu
|
|
|
|
# - ems: Emscripten
|
2019-11-19 16:09:44 +00:00
|
|
|
version: 2.1
|
|
|
|
parameters:
|
2020-07-15 10:44:35 +00:00
|
|
|
ubuntu-1804-docker-image:
|
2020-02-20 06:04:49 +00:00
|
|
|
type: string
|
2020-09-14 15:42:12 +00:00
|
|
|
# solbuildpackpusher/solidity-buildpack-deps:ubuntu1804-3
|
|
|
|
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:19f613d2ac47fedff654dacef984d8a64726c4d67ae8f2667a85ee7d97ac4c1c"
|
2020-07-15 10:44:35 +00:00
|
|
|
ubuntu-2004-docker-image:
|
2020-02-20 06:04:49 +00:00
|
|
|
type: string
|
2020-09-14 15:42:12 +00:00
|
|
|
# solbuildpackpusher/solidity-buildpack-deps:ubuntu2004-3
|
|
|
|
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:aeedbe7390a7383815f0cf0f8a1b8bf84dc5e334a3b0043ebcdf8b1bdbe80a81"
|
2020-07-15 10:44:35 +00:00
|
|
|
ubuntu-2004-clang-docker-image:
|
2019-11-19 16:09:44 +00:00
|
|
|
type: string
|
2020-09-14 15:42:12 +00:00
|
|
|
# solbuildpackpusher/solidity-buildpack-deps:ubuntu2004.clang-3
|
|
|
|
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:2593c15689dee5b5bdfff96a36c8c68a468cd3b147c41f75b820b8fabc257be9"
|
2020-07-15 10:44:35 +00:00
|
|
|
ubuntu-1604-clang-ossfuzz-docker-image:
|
2020-02-20 14:32:28 +00:00
|
|
|
type: string
|
2020-10-15 15:45:02 +00:00
|
|
|
# solbuildpackpusher/solidity-buildpack-deps:ubuntu1604.clang.ossfuzz-5
|
|
|
|
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:65901cd8b64b5959bc4c907df47bb7be3d3b00c9ae8948c75aad7d4c57875cf0"
|
2020-07-15 10:44:35 +00:00
|
|
|
emscripten-docker-image:
|
|
|
|
type: string
|
2020-09-14 15:42:12 +00:00
|
|
|
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:23dad3b34deae8107c8551804ef299f6a89c23ed506e8118fac151e2bdc9018c"
|
2019-04-26 09:57:49 +00:00
|
|
|
|
2020-09-15 12:47:30 +00:00
|
|
|
orbs:
|
|
|
|
win: circleci/windows@2.2.0
|
|
|
|
|
2018-04-03 15:34:38 +00:00
|
|
|
defaults:
|
2019-04-26 09:57:49 +00:00
|
|
|
|
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
# Build Templates
|
|
|
|
|
2018-05-02 13:42:34 +00:00
|
|
|
- setup_prerelease_commit_hash: &setup_prerelease_commit_hash
|
2018-04-26 11:38:20 +00:00
|
|
|
name: Store commit hash and prerelease
|
|
|
|
command: |
|
|
|
|
if [ "$CIRCLE_BRANCH" = release -o -n "$CIRCLE_TAG" ]; then echo -n > prerelease.txt; else date -u +"nightly.%Y.%-m.%-d" > prerelease.txt; fi
|
|
|
|
echo -n "$CIRCLE_SHA1" > commit_hash.txt
|
2019-04-26 09:57:49 +00:00
|
|
|
|
2018-04-26 11:38:20 +00:00
|
|
|
- run_build: &run_build
|
|
|
|
name: Build
|
2020-06-23 17:17:15 +00:00
|
|
|
command: scripts/ci/build.sh
|
2019-04-26 09:57:49 +00:00
|
|
|
|
2019-03-28 10:11:04 +00:00
|
|
|
- run_build_ossfuzz: &run_build_ossfuzz
|
|
|
|
name: Build_ossfuzz
|
2020-06-23 17:17:15 +00:00
|
|
|
command: scripts/ci/build_ossfuzz.sh
|
2019-04-26 09:57:49 +00:00
|
|
|
|
2019-06-19 17:25:05 +00:00
|
|
|
- run_proofs: &run_proofs
|
|
|
|
name: Correctness proofs for optimization rules
|
|
|
|
command: scripts/run_proofs.sh
|
2019-04-26 09:57:49 +00:00
|
|
|
|
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
# Artifacts Templates
|
|
|
|
|
|
|
|
# the whole build directory
|
|
|
|
- artifacts_build_dir: &artifacts_build_dir
|
|
|
|
root: build
|
|
|
|
paths:
|
|
|
|
- "*"
|
|
|
|
|
|
|
|
# compiled solc executable target
|
|
|
|
- artifacts_solc: &artifacts_solc
|
2018-04-26 11:38:20 +00:00
|
|
|
path: build/solc/solc
|
|
|
|
destination: solc
|
2019-04-26 09:57:49 +00:00
|
|
|
|
2020-09-16 15:19:41 +00:00
|
|
|
# windows artifacts
|
2020-09-15 12:47:30 +00:00
|
|
|
- artifact_solc_windows: &artifact_solc_windows
|
2020-09-16 15:19:41 +00:00
|
|
|
path: upload/
|
2020-09-15 12:47:30 +00:00
|
|
|
|
2019-12-09 16:01:31 +00:00
|
|
|
# compiled tool executable target
|
|
|
|
- artifacts_tools: &artifacts_tools
|
|
|
|
path: build/tools/solidity-upgrade
|
|
|
|
destination: solidity-upgrade
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
# compiled executable targets
|
|
|
|
- artifacts_executables: &artifacts_executables
|
2018-04-26 11:38:20 +00:00
|
|
|
root: build
|
|
|
|
paths:
|
|
|
|
- solc/solc
|
|
|
|
- test/soltest
|
|
|
|
- test/tools/solfuzzer
|
2019-04-26 09:57:49 +00:00
|
|
|
|
|
|
|
# compiled OSSFUZZ targets
|
|
|
|
- artifacts_executables_ossfuzz: &artifacts_executables_ossfuzz
|
2019-04-04 21:04:49 +00:00
|
|
|
root: build
|
|
|
|
paths:
|
2019-07-08 14:04:52 +00:00
|
|
|
- test/tools/ossfuzz/abiv2_proto_ossfuzz
|
2019-04-04 21:04:49 +00:00
|
|
|
- test/tools/ossfuzz/const_opt_ossfuzz
|
2019-04-29 10:38:11 +00:00
|
|
|
- test/tools/ossfuzz/solc_noopt_ossfuzz
|
|
|
|
- test/tools/ossfuzz/solc_opt_ossfuzz
|
|
|
|
- test/tools/ossfuzz/strictasm_assembly_ossfuzz
|
2019-04-04 21:04:49 +00:00
|
|
|
- test/tools/ossfuzz/strictasm_diff_ossfuzz
|
2019-04-29 10:38:11 +00:00
|
|
|
- test/tools/ossfuzz/strictasm_opt_ossfuzz
|
2019-04-04 21:04:49 +00:00
|
|
|
- test/tools/ossfuzz/yul_proto_diff_ossfuzz
|
2019-11-18 11:12:30 +00:00
|
|
|
- test/tools/ossfuzz/yul_proto_diff_custom_mutate_ossfuzz
|
2019-04-29 10:38:11 +00:00
|
|
|
- test/tools/ossfuzz/yul_proto_ossfuzz
|
2020-04-20 14:08:31 +00:00
|
|
|
- test/tools/ossfuzz/sol_proto_ossfuzz
|
2018-04-03 15:34:38 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
# test result output directory
|
|
|
|
- artifacts_test_results: &artifacts_test_results
|
|
|
|
path: test_results/
|
|
|
|
destination: test_results/
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
# Tests Templates
|
|
|
|
|
|
|
|
# store_test_results helper
|
|
|
|
- store_test_results: &store_test_results
|
|
|
|
path: test_results/
|
|
|
|
|
|
|
|
- run_soltest: &run_soltest
|
|
|
|
name: soltest
|
2020-09-08 06:18:27 +00:00
|
|
|
no_output_timeout: 30m
|
2019-04-26 09:57:49 +00:00
|
|
|
command: ./.circleci/soltest.sh
|
|
|
|
|
2019-08-14 13:43:24 +00:00
|
|
|
- run_soltest_all: &run_soltest_all
|
|
|
|
name: soltest_all
|
2020-09-08 06:18:27 +00:00
|
|
|
no_output_timeout: 30m
|
2019-08-14 13:43:24 +00:00
|
|
|
command: ./.circleci/soltest_all.sh
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
- run_cmdline_tests: &run_cmdline_tests
|
|
|
|
name: command line tests
|
2020-09-08 06:18:27 +00:00
|
|
|
no_output_timeout: 30m
|
2019-04-26 09:57:49 +00:00
|
|
|
command: ./test/cmdlineTests.sh
|
|
|
|
|
2020-04-01 16:16:47 +00:00
|
|
|
- run_docs_pragma_min_version: &run_docs_pragma_min_version
|
|
|
|
name: docs pragma version check
|
2020-01-28 15:34:38 +00:00
|
|
|
command: ./scripts/docs_version_pragma_check.sh
|
|
|
|
|
2020-02-20 14:32:28 +00:00
|
|
|
- test_ubuntu1604_clang: &test_ubuntu1604_clang
|
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-1604-clang-ossfuzz-docker-image >>
|
2020-02-20 14:32:28 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run: *run_soltest
|
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
|
|
|
|
2020-05-11 14:53:45 +00:00
|
|
|
- test_ubuntu2004_clang: &test_ubuntu2004_clang
|
2019-09-24 12:31:22 +00:00
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-2004-clang-docker-image >>
|
2019-09-24 12:31:22 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run: *run_soltest
|
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
|
|
|
|
2020-05-11 14:53:45 +00:00
|
|
|
- test_ubuntu2004: &test_ubuntu2004
|
2019-08-14 13:43:24 +00:00
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
2020-07-15 11:05:08 +00:00
|
|
|
parallelism: 6
|
2019-08-14 13:43:24 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run: *run_soltest_all
|
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
2019-04-26 09:57:49 +00:00
|
|
|
|
|
|
|
- test_asan: &test_asan
|
2020-05-11 14:53:45 +00:00
|
|
|
<<: *test_ubuntu2004
|
2019-04-26 09:57:49 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run:
|
|
|
|
<<: *run_soltest
|
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
|
|
|
|
2020-03-19 23:15:42 +00:00
|
|
|
- test_asan_clang: &test_asan_clang
|
|
|
|
<<: *test_ubuntu2004_clang
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run:
|
|
|
|
<<: *run_soltest
|
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
# Workflow Templates
|
|
|
|
|
|
|
|
- workflow_trigger_on_tags: &workflow_trigger_on_tags
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2020-05-11 14:53:45 +00:00
|
|
|
- workflow_ubuntu2004: &workflow_ubuntu2004
|
2019-04-26 09:57:49 +00:00
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_ubu
|
|
|
|
|
2020-02-20 14:32:28 +00:00
|
|
|
- workflow_ubuntu1604_clang: &workflow_ubuntu1604_clang
|
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_ubu_ossfuzz
|
|
|
|
|
2020-05-11 14:53:45 +00:00
|
|
|
- workflow_ubuntu2004_clang: &workflow_ubuntu2004_clang
|
2019-09-24 12:31:22 +00:00
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_ubu_clang
|
|
|
|
|
2020-05-11 14:53:45 +00:00
|
|
|
- workflow_ubuntu2004_release: &workflow_ubuntu2004_release
|
2019-09-06 14:36:16 +00:00
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_ubu_release
|
|
|
|
|
2020-09-08 08:28:42 +00:00
|
|
|
- workflow_archlinux: &workflow_archlinux
|
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_archlinux
|
|
|
|
|
2020-05-11 14:53:45 +00:00
|
|
|
- workflow_ubuntu2004_codecov: &workflow_ubuntu2004_codecov
|
2019-04-26 09:57:49 +00:00
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_ubu_codecov
|
|
|
|
|
|
|
|
- workflow_osx: &workflow_osx
|
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_osx
|
|
|
|
|
2020-05-11 14:53:45 +00:00
|
|
|
- workflow_ubuntu2004_asan: &workflow_ubuntu2004_asan
|
2019-04-26 09:57:49 +00:00
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_ubu_asan
|
|
|
|
|
2020-03-19 23:15:42 +00:00
|
|
|
- workflow_ubuntu2004_asan_clang: &workflow_ubuntu2004_asan_clang
|
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_ubu_asan_clang
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
- workflow_emscripten: &workflow_emscripten
|
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_ems
|
|
|
|
|
2020-02-20 14:32:28 +00:00
|
|
|
- workflow_ubuntu1604_ossfuzz: &workflow_ubuntu1604_ossfuzz
|
2019-04-26 09:57:49 +00:00
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_ubu_ossfuzz
|
|
|
|
|
2020-09-16 14:24:11 +00:00
|
|
|
- workflow_win: &workflow_win
|
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_win
|
|
|
|
|
|
|
|
- workflow_win_release: &workflow_win_release
|
|
|
|
<<: *workflow_trigger_on_tags
|
|
|
|
requires:
|
|
|
|
- b_win_release
|
|
|
|
|
2019-09-04 10:56:29 +00:00
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
# Notification Templates
|
|
|
|
- gitter_notify_failure: &gitter_notify_failure
|
|
|
|
name: Gitter notify failure
|
|
|
|
command: >-
|
|
|
|
curl -X POST -i
|
|
|
|
-i -H "Content-Type: application/json"
|
|
|
|
-H "Accept: application/json"
|
|
|
|
-H "Authorization: Bearer $GITTER_API_TOKEN" "https://api.gitter.im/v1/rooms/$GITTER_NOTIFY_ROOM_ID/chatMessages"
|
2019-09-19 00:26:39 +00:00
|
|
|
-d '{"text":" ❌ Nightly job **'$CIRCLE_JOB'** failed on **'$CIRCLE_BRANCH'**. Please see '$CIRCLE_BUILD_URL' for details."}'
|
2019-09-04 10:56:29 +00:00
|
|
|
when: on_fail
|
|
|
|
|
|
|
|
- gitter_notify_success: &gitter_notify_success
|
|
|
|
name: Gitter notify success
|
|
|
|
command: >-
|
|
|
|
curl -X POST -i
|
|
|
|
-i -H "Content-Type: application/json"
|
|
|
|
-H "Accept: application/json"
|
|
|
|
-H "Authorization: Bearer $GITTER_API_TOKEN" "https://api.gitter.im/v1/rooms/$GITTER_NOTIFY_ROOM_ID/chatMessages"
|
2019-09-19 00:26:39 +00:00
|
|
|
-d '{"text":" ✅ Nightly job **'$CIRCLE_JOB'** succeeded on **'$CIRCLE_BRANCH'**. Please see '$CIRCLE_BUILD_URL' for details."}'
|
2019-09-04 10:56:29 +00:00
|
|
|
when: on_success
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
# -----------------------------------------------------------------------------------------------
|
2017-08-16 19:20:46 +00:00
|
|
|
jobs:
|
2019-04-26 09:57:49 +00:00
|
|
|
|
|
|
|
chk_spelling:
|
2017-08-16 19:20:46 +00:00
|
|
|
docker:
|
2019-04-26 09:57:49 +00:00
|
|
|
- image: circleci/python:3.6
|
2018-05-10 12:43:08 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
2017-08-16 19:20:46 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
2019-04-26 09:57:49 +00:00
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
2017-09-14 21:13:37 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: Install dependencies
|
2017-09-14 21:13:37 +00:00
|
|
|
command: |
|
2019-04-26 09:57:49 +00:00
|
|
|
pip install --user codespell
|
2017-09-14 21:13:37 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: Check spelling
|
2019-08-07 13:29:19 +00:00
|
|
|
command: ~/.local/bin/codespell -S "*.enc,.git,Dockerfile*" -I ./scripts/codespell_whitelist.txt
|
2019-01-31 13:22:02 +00:00
|
|
|
|
2019-08-05 11:00:30 +00:00
|
|
|
chk_docs_examples:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node
|
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run:
|
|
|
|
name: JS deps
|
|
|
|
command: sudo npm install -g solhint
|
|
|
|
- run:
|
|
|
|
name: Test Docs examples
|
|
|
|
command: ./test/docsCodeStyle.sh
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
chk_coding_style:
|
2018-02-08 22:43:05 +00:00
|
|
|
docker:
|
2020-04-27 13:26:25 +00:00
|
|
|
- image: buildpack-deps:focal
|
2018-02-08 22:43:05 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
2020-03-31 18:05:58 +00:00
|
|
|
- run:
|
|
|
|
name: Install shellcheck
|
|
|
|
command: apt -q update && apt install -y shellcheck
|
2018-02-08 22:43:05 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: Check for C++ coding style
|
|
|
|
command: ./scripts/check_style.sh
|
2020-03-31 18:05:58 +00:00
|
|
|
- run:
|
|
|
|
name: checking shell scripts
|
|
|
|
command: ./scripts/chk_shellscripts/chk_shellscripts.sh
|
2020-11-19 00:14:13 +00:00
|
|
|
- run:
|
|
|
|
name: Check for broken symlinks
|
|
|
|
command: ./scripts/check_symlinks.sh
|
2019-01-31 13:22:02 +00:00
|
|
|
|
2020-05-27 10:13:37 +00:00
|
|
|
chk_errorcodes:
|
|
|
|
docker:
|
|
|
|
- image: circleci/python:3.6
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Check for error codes
|
2020-06-27 23:46:42 +00:00
|
|
|
command: ./scripts/error_codes.py --check
|
2020-05-27 10:13:37 +00:00
|
|
|
|
2020-01-15 13:19:13 +00:00
|
|
|
chk_pylint:
|
|
|
|
docker:
|
|
|
|
- image: buildpack-deps:eoan
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Install pip
|
|
|
|
command: apt -q update && apt install -y python3-pip
|
|
|
|
- run:
|
|
|
|
name: Install pylint
|
2020-01-15 13:19:13 +00:00
|
|
|
command: python3 -m pip install pylint z3-solver pygments-lexer-solidity
|
|
|
|
# also z3-solver to make sure pylint knows about this module, pygments-lexer-solidity for docs
|
2020-01-15 13:19:13 +00:00
|
|
|
- run:
|
|
|
|
name: Linting Python Scripts
|
|
|
|
command: ./scripts/pylint_all.py
|
|
|
|
|
2020-03-11 12:03:57 +00:00
|
|
|
chk_antlr_grammar:
|
|
|
|
docker:
|
|
|
|
- image: buildpack-deps:eoan
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Install Java
|
|
|
|
command: apt -q update && apt install -y openjdk-14-jdk
|
|
|
|
- run:
|
|
|
|
name: Run tests
|
|
|
|
command: ./scripts/test_antlr_grammar.sh
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
chk_buglist:
|
2018-02-09 16:21:36 +00:00
|
|
|
docker:
|
2019-04-26 09:57:49 +00:00
|
|
|
- image: circleci/node
|
2018-05-10 12:43:08 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
2018-02-09 16:21:36 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: JS deps
|
2018-02-09 16:21:36 +00:00
|
|
|
command: |
|
2019-04-26 09:57:49 +00:00
|
|
|
npm install download
|
|
|
|
npm install JSONPath
|
|
|
|
npm install mktemp
|
|
|
|
- run:
|
|
|
|
name: Test buglist
|
|
|
|
command: ./test/buglistTests.js
|
2019-04-01 14:19:53 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
chk_proofs:
|
2019-04-01 14:19:53 +00:00
|
|
|
docker:
|
2020-04-15 07:46:41 +00:00
|
|
|
- image: buildpack-deps:latest
|
2019-04-01 14:19:53 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
2017-09-14 21:13:37 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: Z3 python deps
|
2017-09-14 21:13:37 +00:00
|
|
|
command: |
|
2019-04-26 09:57:49 +00:00
|
|
|
apt-get -qq update
|
2020-04-22 08:20:52 +00:00
|
|
|
apt-get -qy install python3-pip
|
|
|
|
pip3 install --user z3-solver
|
2019-04-26 09:57:49 +00:00
|
|
|
- run: *run_proofs
|
2019-01-31 13:22:02 +00:00
|
|
|
|
2020-04-01 16:16:47 +00:00
|
|
|
chk_docs_pragma_min_version:
|
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
2020-04-01 16:16:47 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: *run_docs_pragma_min_version
|
|
|
|
|
2020-05-11 14:53:45 +00:00
|
|
|
b_ubu_clang: &build_ubuntu2004_clang
|
2020-07-27 16:57:23 +00:00
|
|
|
resource_class: xlarge
|
2019-09-24 12:31:22 +00:00
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-2004-clang-docker-image >>
|
2019-09-24 12:31:22 +00:00
|
|
|
environment:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
2020-07-27 16:57:23 +00:00
|
|
|
MAKEFLAGS: -j 10
|
2019-09-24 12:31:22 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: *run_build
|
|
|
|
- store_artifacts: *artifacts_solc
|
|
|
|
- persist_to_workspace: *artifacts_executables
|
|
|
|
|
2020-03-19 23:15:42 +00:00
|
|
|
|
|
|
|
b_ubu_asan_clang: &build_ubuntu2004_clang
|
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-2004-clang-docker-image >>
|
2020-03-19 23:15:42 +00:00
|
|
|
environment:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
|
|
|
CMAKE_OPTIONS: -DSANITIZE=address
|
2020-07-28 15:30:40 +00:00
|
|
|
MAKEFLAGS: -j 3
|
2020-03-19 23:15:42 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: *run_build
|
|
|
|
- store_artifacts: *artifacts_solc
|
|
|
|
- persist_to_workspace: *artifacts_executables
|
|
|
|
|
2020-05-11 14:53:45 +00:00
|
|
|
b_ubu: &build_ubuntu2004
|
2020-07-15 10:10:56 +00:00
|
|
|
resource_class: xlarge
|
2019-04-01 22:38:14 +00:00
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
2020-07-15 10:10:56 +00:00
|
|
|
environment:
|
|
|
|
MAKEFLAGS: -j 10
|
2019-04-26 09:57:49 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: *run_build
|
|
|
|
- store_artifacts: *artifacts_solc
|
2019-12-09 16:01:31 +00:00
|
|
|
- store_artifacts: *artifacts_tools
|
2019-04-26 09:57:49 +00:00
|
|
|
- persist_to_workspace: *artifacts_executables
|
|
|
|
|
2020-05-11 14:53:45 +00:00
|
|
|
b_ubu_release: &build_ubuntu2004_release
|
|
|
|
<<: *build_ubuntu2004
|
2019-09-06 14:36:16 +00:00
|
|
|
environment:
|
|
|
|
FORCE_RELEASE: ON
|
2020-07-28 15:30:40 +00:00
|
|
|
MAKEFLAGS: -j 10
|
2019-09-06 14:36:16 +00:00
|
|
|
|
2020-09-30 12:49:27 +00:00
|
|
|
b_ubu_static:
|
|
|
|
<<: *build_ubuntu2004
|
|
|
|
environment:
|
|
|
|
MAKEFLAGS: -j 10
|
|
|
|
CMAKE_OPTIONS: -DCMAKE_BUILD_TYPE=Release -DSOLC_LINK_STATIC=1 -DUSE_CVC4=OFF -DUSE_Z3=OFF
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: *run_build
|
|
|
|
- run:
|
|
|
|
name: strip binary
|
|
|
|
command: strip build/solc/solc
|
|
|
|
- store_artifacts: *artifacts_solc
|
|
|
|
|
2019-07-30 07:27:43 +00:00
|
|
|
b_ubu18: &build_ubuntu1804
|
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-1804-docker-image >>
|
2019-07-30 07:27:43 +00:00
|
|
|
environment:
|
2020-01-13 15:46:52 +00:00
|
|
|
CMAKE_OPTIONS: -DCMAKE_CXX_FLAGS=-O2
|
2019-07-30 07:27:43 +00:00
|
|
|
CMAKE_BUILD_TYPE: RelWithDebugInfo
|
2020-07-28 15:30:40 +00:00
|
|
|
MAKEFLAGS: -j 3
|
2019-07-30 07:27:43 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: *run_build
|
|
|
|
- store_artifacts: *artifacts_solc
|
|
|
|
- persist_to_workspace: *artifacts_executables
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
b_ubu_codecov:
|
2020-05-11 14:53:45 +00:00
|
|
|
<<: *build_ubuntu2004
|
2019-04-01 22:38:14 +00:00
|
|
|
environment:
|
2019-04-26 09:57:49 +00:00
|
|
|
COVERAGE: ON
|
|
|
|
CMAKE_BUILD_TYPE: Debug
|
2020-07-28 15:30:40 +00:00
|
|
|
MAKEFLAGS: -j 10
|
2019-04-26 09:57:49 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: *run_build
|
2020-10-14 20:51:22 +00:00
|
|
|
- persist_to_workspace: *artifacts_executables
|
2019-04-26 09:57:49 +00:00
|
|
|
|
|
|
|
t_ubu_codecov:
|
2020-05-11 14:53:45 +00:00
|
|
|
<<: *test_ubuntu2004
|
2019-04-26 09:57:49 +00:00
|
|
|
environment:
|
|
|
|
EVM: constantinople
|
|
|
|
OPTIMIZE: 1
|
2019-04-01 22:38:14 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
2019-04-26 09:57:49 +00:00
|
|
|
at: build
|
2019-04-01 22:38:14 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: "soltest: Syntax Tests"
|
2019-07-17 09:05:44 +00:00
|
|
|
command: build/test/soltest -t 'syntaxTest*' -- --testpath test
|
2019-04-01 22:38:14 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: "Code Coverage: Syntax Tests"
|
|
|
|
command: codecov --flags syntax --gcov-root build
|
|
|
|
- run: *run_soltest
|
|
|
|
- run:
|
|
|
|
name: "Coverage: All"
|
|
|
|
command: codecov --flags all --gcov-root build
|
|
|
|
- store_artifacts: *artifacts_test_results
|
2019-04-01 22:38:14 +00:00
|
|
|
|
2019-08-09 09:28:22 +00:00
|
|
|
# Builds in C++20 mode and uses debug build in order to speed up.
|
2019-04-26 09:57:49 +00:00
|
|
|
# Do *NOT* store any artifacts or workspace as we don't run tests on this build.
|
2019-08-09 09:28:22 +00:00
|
|
|
b_ubu_cxx20:
|
2020-05-11 14:53:45 +00:00
|
|
|
<<: *build_ubuntu2004
|
2018-05-10 12:43:08 +00:00
|
|
|
environment:
|
2019-04-26 09:57:49 +00:00
|
|
|
CMAKE_BUILD_TYPE: Debug
|
2020-07-22 14:20:59 +00:00
|
|
|
CMAKE_OPTIONS: -DCMAKE_CXX_STANDARD=20 -DUSE_CVC4=OFF
|
2020-07-28 15:30:40 +00:00
|
|
|
MAKEFLAGS: -j 10
|
2018-02-08 15:12:04 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
2018-05-02 13:42:34 +00:00
|
|
|
- run: *run_build
|
2018-04-26 11:38:20 +00:00
|
|
|
|
2020-02-20 14:32:28 +00:00
|
|
|
b_ubu_ossfuzz: &build_ubuntu1604_clang
|
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-1604-clang-ossfuzz-docker-image >>
|
2019-01-31 13:22:02 +00:00
|
|
|
environment:
|
2019-09-24 12:31:22 +00:00
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
2020-02-20 14:32:28 +00:00
|
|
|
TERM: xterm
|
2020-07-28 15:30:40 +00:00
|
|
|
MAKEFLAGS: -j 3
|
2019-01-31 13:22:02 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: *setup_prerelease_commit_hash
|
2019-04-26 09:57:49 +00:00
|
|
|
- run: *run_build_ossfuzz
|
|
|
|
- persist_to_workspace: *artifacts_executables_ossfuzz
|
2019-01-31 13:22:02 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
t_ubu_ossfuzz: &t_ubu_ossfuzz
|
2020-02-20 14:32:28 +00:00
|
|
|
<<: *test_ubuntu1604_clang
|
2018-11-08 13:28:25 +00:00
|
|
|
steps:
|
2019-04-26 09:57:49 +00:00
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
2018-11-08 13:28:25 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: Regression tests
|
2018-11-08 13:28:25 +00:00
|
|
|
command: |
|
2020-02-18 07:18:21 +00:00
|
|
|
git clone https://github.com/ethereum/solidity-fuzzing-corpus /tmp/solidity-fuzzing-corpus
|
2019-04-26 09:57:49 +00:00
|
|
|
mkdir -p test_results
|
|
|
|
scripts/regressions.py -o test_results
|
2019-09-04 10:56:29 +00:00
|
|
|
- run: *gitter_notify_failure
|
|
|
|
- run: *gitter_notify_success
|
2019-04-26 09:57:49 +00:00
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
2018-11-08 13:28:25 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
b_archlinux:
|
2018-10-16 12:21:18 +00:00
|
|
|
docker:
|
2019-08-06 11:50:01 +00:00
|
|
|
- image: archlinux/base
|
2018-10-16 12:21:18 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
2020-07-28 15:30:40 +00:00
|
|
|
MAKEFLAGS: -j 3
|
2018-10-16 12:21:18 +00:00
|
|
|
steps:
|
2019-08-06 11:50:01 +00:00
|
|
|
- run:
|
|
|
|
name: Install build dependencies
|
|
|
|
command: |
|
|
|
|
pacman --noconfirm -Syu --noprogressbar --needed base-devel boost cmake z3 cvc4 git openssh tar
|
2018-10-16 12:21:18 +00:00
|
|
|
- checkout
|
|
|
|
- run: *run_build
|
2019-04-26 09:57:49 +00:00
|
|
|
- store_artifacts: *artifacts_solc
|
|
|
|
- persist_to_workspace: *artifacts_executables
|
2018-10-16 12:21:18 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
b_osx:
|
2018-04-26 11:38:20 +00:00
|
|
|
macos:
|
2019-10-18 12:09:25 +00:00
|
|
|
xcode: "11.0.0"
|
2018-05-10 12:43:08 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
2020-05-20 16:05:40 +00:00
|
|
|
CMAKE_BUILD_TYPE: Release
|
2020-07-28 11:22:51 +00:00
|
|
|
MAKEFLAGS: -j 5
|
2018-04-26 11:38:20 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
2019-09-20 00:39:25 +00:00
|
|
|
- restore_cache:
|
|
|
|
keys:
|
2020-10-14 20:32:08 +00:00
|
|
|
- dependencies-osx-{{ checksum ".circleci/osx_install_dependencies.sh" }}
|
|
|
|
# DO NOT EDIT between here and save_cache, but rather edit ./circleci/osx_install_dependencies.sh
|
|
|
|
# WARNING! If you do edit anything here instead, remember to invalidate the cache manually.
|
2018-04-26 11:38:20 +00:00
|
|
|
- run:
|
|
|
|
name: Install build dependencies
|
2019-09-20 00:39:25 +00:00
|
|
|
command: ./.circleci/osx_install_dependencies.sh
|
|
|
|
- save_cache:
|
2020-10-14 20:32:08 +00:00
|
|
|
key: dependencies-osx-{{ checksum ".circleci/osx_install_dependencies.sh" }}
|
2019-09-20 00:39:25 +00:00
|
|
|
paths:
|
|
|
|
- /usr/local/bin
|
|
|
|
- /usr/local/sbin
|
|
|
|
- /usr/local/lib
|
|
|
|
- /usr/local/include
|
|
|
|
- /usr/local/Cellar
|
|
|
|
- /usr/local/Homebrew
|
2018-05-02 13:42:34 +00:00
|
|
|
- run: *run_build
|
2019-04-26 09:57:49 +00:00
|
|
|
- store_artifacts: *artifacts_solc
|
2019-12-09 16:01:31 +00:00
|
|
|
- store_artifacts: *artifacts_tools
|
2020-10-14 21:24:35 +00:00
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- build/solc/solc
|
|
|
|
- build/test/soltest
|
|
|
|
- build/test/tools/solfuzzer
|
2019-09-20 00:39:25 +00:00
|
|
|
|
|
|
|
t_osx_soltest:
|
|
|
|
macos:
|
|
|
|
xcode: "11.0.0"
|
|
|
|
environment:
|
|
|
|
EVM: constantinople
|
|
|
|
OPTIMIZE: 0
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
|
|
keys:
|
2020-10-14 20:32:08 +00:00
|
|
|
- dependencies-osx-{{ checksum ".circleci/osx_install_dependencies.sh" }}
|
2019-09-20 00:39:25 +00:00
|
|
|
- attach_workspace:
|
2020-10-14 21:24:35 +00:00
|
|
|
at: .
|
2019-09-20 00:39:25 +00:00
|
|
|
- run: *run_soltest
|
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
2018-02-26 18:33:03 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
t_osx_cli:
|
|
|
|
macos:
|
2019-10-18 12:09:25 +00:00
|
|
|
xcode: "11.0.0"
|
2018-07-10 07:15:39 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
2019-09-20 00:39:25 +00:00
|
|
|
- restore_cache:
|
|
|
|
keys:
|
2020-10-14 20:32:08 +00:00
|
|
|
- dependencies-osx-{{ checksum ".circleci/osx_install_dependencies.sh" }}
|
2018-07-10 07:15:39 +00:00
|
|
|
- attach_workspace:
|
2020-10-14 21:24:35 +00:00
|
|
|
at: .
|
2019-04-26 09:57:49 +00:00
|
|
|
- run: *run_cmdline_tests
|
|
|
|
- store_artifacts: *artifacts_test_results
|
2018-09-04 15:17:07 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
b_ems:
|
2020-07-15 10:10:56 +00:00
|
|
|
resource_class: xlarge
|
2018-08-21 14:09:53 +00:00
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.emscripten-docker-image >>
|
2018-08-21 14:09:53 +00:00
|
|
|
environment:
|
2020-07-15 10:10:56 +00:00
|
|
|
MAKEFLAGS: -j 10
|
2018-08-21 14:09:53 +00:00
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: Build
|
|
|
|
command: |
|
2020-10-19 15:57:22 +00:00
|
|
|
scripts/ci/build_emscripten.sh
|
2019-04-26 09:57:49 +00:00
|
|
|
- store_artifacts:
|
|
|
|
path: emscripten_build/libsolc/soljson.js
|
|
|
|
destination: soljson.js
|
|
|
|
- run: mkdir -p workspace
|
|
|
|
- run: cp emscripten_build/libsolc/soljson.js workspace/soljson.js
|
|
|
|
- run: scripts/get_version.sh > workspace/version.txt
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: workspace
|
|
|
|
paths:
|
|
|
|
- soljson.js
|
|
|
|
- version.txt
|
2018-08-03 11:55:44 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
# x64 ASAN build, for testing for memory related bugs
|
|
|
|
b_ubu_asan: &b_ubu_asan
|
2020-05-11 14:53:45 +00:00
|
|
|
<<: *build_ubuntu2004
|
2019-06-19 17:25:05 +00:00
|
|
|
environment:
|
2019-04-26 09:57:49 +00:00
|
|
|
CMAKE_OPTIONS: -DSANITIZE=address
|
2020-07-28 15:30:40 +00:00
|
|
|
MAKEFLAGS: -j 10
|
2019-04-26 09:57:49 +00:00
|
|
|
CMAKE_BUILD_TYPE: Release
|
2019-06-19 17:25:05 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
2019-04-26 09:57:49 +00:00
|
|
|
- run: *run_build
|
|
|
|
- store_artifacts: *artifacts_solc
|
|
|
|
- persist_to_workspace: *artifacts_executables
|
2019-06-19 17:25:05 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
b_docs:
|
2018-02-26 18:33:03 +00:00
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
2018-02-26 18:33:03 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
2019-04-26 09:57:49 +00:00
|
|
|
- run: *setup_prerelease_commit_hash
|
2018-07-23 11:29:55 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: Build documentation
|
|
|
|
command: ./scripts/docs.sh
|
2018-10-11 15:01:06 +00:00
|
|
|
- store_artifacts:
|
2019-04-26 09:57:49 +00:00
|
|
|
path: docs/_build/html/
|
|
|
|
destination: docs-html
|
2018-04-26 11:38:20 +00:00
|
|
|
|
2019-08-14 13:43:24 +00:00
|
|
|
t_ubu_soltest: &t_ubu_soltest
|
2020-05-11 14:53:45 +00:00
|
|
|
<<: *test_ubuntu2004
|
2019-08-14 13:43:24 +00:00
|
|
|
|
2020-09-08 08:28:42 +00:00
|
|
|
t_archlinux_soltest: &t_archlinux_soltest
|
|
|
|
docker:
|
|
|
|
- image: archlinux/base
|
|
|
|
environment:
|
|
|
|
EVM: constantinople
|
|
|
|
OPTIMIZE: 0
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- run:
|
|
|
|
name: Install runtime dependencies
|
|
|
|
command: |
|
|
|
|
pacman --noconfirm -Syu --noprogressbar --needed base-devel boost cmake z3 cvc4 git openssh tar
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run: *run_soltest
|
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
|
|
|
|
2020-04-17 20:24:33 +00:00
|
|
|
t_ubu_soltest_enforce_yul: &t_ubu_soltest_enforce_yul
|
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
2020-04-17 20:24:33 +00:00
|
|
|
environment:
|
|
|
|
EVM: constantinople
|
|
|
|
SOLTEST_FLAGS: --enforce-via-yul
|
|
|
|
OPTIMIZE: 0
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run: *run_soltest
|
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
|
|
|
|
|
|
|
|
2019-09-24 12:31:22 +00:00
|
|
|
t_ubu_clang_soltest: &t_ubu_clang_soltest
|
2020-05-11 14:53:45 +00:00
|
|
|
<<: *test_ubuntu2004_clang
|
2019-09-24 12:31:22 +00:00
|
|
|
environment:
|
|
|
|
EVM: constantinople
|
|
|
|
OPTIMIZE: 0
|
|
|
|
|
2019-09-06 14:36:16 +00:00
|
|
|
t_ubu_release_soltest: &t_ubu_release_soltest
|
|
|
|
<<: *t_ubu_soltest
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
t_ubu_cli: &t_ubu_cli
|
2019-01-28 13:51:47 +00:00
|
|
|
docker:
|
2020-07-15 10:44:35 +00:00
|
|
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
2019-01-28 13:51:47 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
2019-04-26 09:57:49 +00:00
|
|
|
- run: *run_cmdline_tests
|
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
2019-01-28 13:51:47 +00:00
|
|
|
|
2019-09-06 14:36:16 +00:00
|
|
|
t_ubu_release_cli: &t_ubu_release_cli
|
|
|
|
<<: *t_ubu_cli
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
t_ubu_asan_cli:
|
|
|
|
<<: *t_ubu_cli
|
2018-11-08 13:28:25 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
2019-04-26 09:57:49 +00:00
|
|
|
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
|
2018-11-08 13:28:25 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
2019-04-26 09:57:49 +00:00
|
|
|
- run:
|
|
|
|
<<: *run_cmdline_tests
|
|
|
|
- store_test_results: *store_test_results
|
|
|
|
- store_artifacts: *artifacts_test_results
|
2018-11-08 13:28:25 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
t_ubu_asan_constantinople:
|
|
|
|
<<: *test_asan
|
|
|
|
environment:
|
|
|
|
EVM: constantinople
|
|
|
|
OPTIMIZE: 0
|
2019-11-04 08:48:35 +00:00
|
|
|
SOLTEST_FLAGS: --no-smt
|
2019-04-26 09:57:49 +00:00
|
|
|
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
|
|
|
|
|
2020-03-19 23:15:42 +00:00
|
|
|
t_ubu_asan_constantinople_clang:
|
|
|
|
<<: *test_asan_clang
|
|
|
|
environment:
|
|
|
|
EVM: constantinople
|
|
|
|
OPTIMIZE: 0
|
|
|
|
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
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
t_ems_solcjs:
|
|
|
|
docker:
|
2020-04-15 07:46:41 +00:00
|
|
|
- image: buildpack-deps:latest
|
2018-05-10 12:43:08 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
2018-04-26 11:38:20 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
2019-04-26 09:57:49 +00:00
|
|
|
at: /tmp/workspace
|
2019-09-17 14:06:43 +00:00
|
|
|
- run:
|
|
|
|
name: Install test dependencies
|
|
|
|
command: |
|
|
|
|
apt-get update
|
|
|
|
apt-get install -qqy --no-install-recommends nodejs npm cvc4
|
2018-04-26 11:38:20 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: Test solcjs
|
2020-09-08 06:18:27 +00:00
|
|
|
no_output_timeout: 30m
|
2018-04-26 11:38:20 +00:00
|
|
|
command: |
|
2019-04-26 09:57:49 +00:00
|
|
|
node --version
|
|
|
|
npm --version
|
2019-09-25 13:59:52 +00:00
|
|
|
test/externalTests/solc-js/solc-js.sh /tmp/workspace/soljson.js $(cat /tmp/workspace/version.txt)
|
2018-02-08 15:12:04 +00:00
|
|
|
|
2019-11-20 23:00:27 +00:00
|
|
|
t_ems_compile_ext_gnosis:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:10
|
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: /tmp/workspace
|
|
|
|
- run:
|
|
|
|
name: External GnosisSafe compilation
|
|
|
|
command: |
|
|
|
|
export COMPILE_ONLY=1
|
|
|
|
test/externalTests/gnosis.sh /tmp/workspace/soljson.js || test/externalTests/gnosis.sh /tmp/workspace/soljson.js
|
|
|
|
|
|
|
|
t_ems_test_ext_gnosis:
|
2018-02-19 16:20:30 +00:00
|
|
|
docker:
|
2019-04-26 09:57:49 +00:00
|
|
|
- image: circleci/node:10
|
2019-01-14 11:21:06 +00:00
|
|
|
environment:
|
2019-04-26 09:57:49 +00:00
|
|
|
TERM: xterm
|
2018-02-19 16:20:30 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
2019-04-26 09:57:49 +00:00
|
|
|
- attach_workspace:
|
|
|
|
at: /tmp/workspace
|
2018-02-19 16:20:30 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: External GnosisSafe tests
|
2018-02-19 16:20:30 +00:00
|
|
|
command: |
|
2019-04-26 09:57:49 +00:00
|
|
|
test/externalTests/gnosis.sh /tmp/workspace/soljson.js || test/externalTests/gnosis.sh /tmp/workspace/soljson.js
|
2019-09-04 10:56:29 +00:00
|
|
|
- run: *gitter_notify_failure
|
|
|
|
- run: *gitter_notify_success
|
2018-02-19 16:20:30 +00:00
|
|
|
|
2019-11-20 23:00:27 +00:00
|
|
|
t_ems_compile_ext_zeppelin:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:10
|
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: /tmp/workspace
|
|
|
|
- run:
|
|
|
|
name: External Zeppelin compilation
|
|
|
|
command: |
|
|
|
|
export COMPILE_ONLY=1
|
|
|
|
test/externalTests/zeppelin.sh /tmp/workspace/soljson.js || test/externalTests/zeppelin.sh /tmp/workspace/soljson.js
|
|
|
|
|
|
|
|
t_ems_test_ext_zeppelin:
|
2019-03-28 10:11:04 +00:00
|
|
|
docker:
|
2019-04-26 09:57:49 +00:00
|
|
|
- image: circleci/node:10
|
2019-03-28 10:11:04 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
2019-04-26 09:57:49 +00:00
|
|
|
- attach_workspace:
|
|
|
|
at: /tmp/workspace
|
2019-03-28 10:11:04 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: External Zeppelin tests
|
2019-03-28 10:11:04 +00:00
|
|
|
command: |
|
2019-04-26 09:57:49 +00:00
|
|
|
test/externalTests/zeppelin.sh /tmp/workspace/soljson.js || test/externalTests/zeppelin.sh /tmp/workspace/soljson.js
|
2019-09-04 10:56:29 +00:00
|
|
|
- run: *gitter_notify_failure
|
|
|
|
- run: *gitter_notify_success
|
2019-04-04 21:04:49 +00:00
|
|
|
|
2019-11-20 23:00:27 +00:00
|
|
|
t_ems_compile_ext_colony:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:10
|
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: /tmp/workspace
|
|
|
|
- run:
|
|
|
|
name: Install test dependencies
|
|
|
|
command: |
|
|
|
|
sudo apt-get -qy install lsof
|
|
|
|
- run:
|
|
|
|
name: External ColonyNetworks compilation
|
|
|
|
command: |
|
|
|
|
export COMPILE_ONLY=1
|
|
|
|
test/externalTests/colony.sh /tmp/workspace/soljson.js || test/externalTests/colony.sh /tmp/workspace/soljson.js
|
|
|
|
|
|
|
|
t_ems_test_ext_colony:
|
2019-04-04 21:04:49 +00:00
|
|
|
docker:
|
2019-04-26 09:57:49 +00:00
|
|
|
- image: circleci/node:10
|
2019-04-04 21:04:49 +00:00
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
2019-04-26 09:57:49 +00:00
|
|
|
at: /tmp/workspace
|
2019-04-04 21:04:49 +00:00
|
|
|
- run:
|
2019-04-26 09:57:49 +00:00
|
|
|
name: Install test dependencies
|
2019-04-04 21:04:49 +00:00
|
|
|
command: |
|
2019-04-26 09:57:49 +00:00
|
|
|
sudo apt-get -qy install lsof
|
|
|
|
- run:
|
|
|
|
name: External ColonyNetworks tests
|
|
|
|
command: |
|
|
|
|
test/externalTests/colony.sh /tmp/workspace/soljson.js || test/externalTests/colony.sh /tmp/workspace/soljson.js
|
2019-09-04 10:56:29 +00:00
|
|
|
- run: *gitter_notify_failure
|
|
|
|
- run: *gitter_notify_success
|
2019-03-28 10:11:04 +00:00
|
|
|
|
2020-07-22 14:22:21 +00:00
|
|
|
b_win: &b_win
|
2020-09-15 12:47:30 +00:00
|
|
|
executor:
|
|
|
|
name: win/default
|
|
|
|
shell: powershell.exe
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
|
|
keys:
|
|
|
|
- dependencies-win-{{ checksum "scripts/install_deps.ps1" }}
|
2020-10-14 20:32:08 +00:00
|
|
|
# DO NOT EDIT between here and save_cache, but rather edit .\scripts\install_deps.ps1
|
2020-10-16 09:42:20 +00:00
|
|
|
# WARNING! If you do edit anything here instead, remember to invalidate the cache manually.
|
|
|
|
- run:
|
2020-09-15 12:47:30 +00:00
|
|
|
name: "Installing dependencies"
|
2020-10-14 20:32:08 +00:00
|
|
|
command: .\scripts\install_deps.ps1
|
2020-09-15 12:47:30 +00:00
|
|
|
- save_cache:
|
|
|
|
key: dependencies-win-{{ checksum "scripts/install_deps.ps1" }}
|
|
|
|
paths:
|
2020-10-14 20:32:08 +00:00
|
|
|
- .\deps
|
2020-09-15 12:47:30 +00:00
|
|
|
- run:
|
|
|
|
name: "Building solidity"
|
|
|
|
command: .circleci/build_win.ps1
|
2020-09-17 12:46:24 +00:00
|
|
|
- run:
|
|
|
|
name: "Run solc.exe to make sure build was successful."
|
|
|
|
command: .\build\solc\Release\solc.exe --version
|
2020-09-15 12:47:30 +00:00
|
|
|
- store_artifacts: *artifact_solc_windows
|
2020-10-14 20:51:22 +00:00
|
|
|
- persist_to_workspace:
|
|
|
|
root: build
|
|
|
|
paths:
|
|
|
|
- .\solc\*\solc.exe
|
|
|
|
- .\test\*\soltest.exe
|
2020-09-15 12:47:30 +00:00
|
|
|
|
2020-07-22 14:22:21 +00:00
|
|
|
b_win_release:
|
|
|
|
<<: *b_win
|
|
|
|
environment:
|
|
|
|
FORCE_RELEASE: ON
|
|
|
|
|
2020-09-16 14:24:11 +00:00
|
|
|
t_win: &t_win
|
|
|
|
executor:
|
|
|
|
name: win/default
|
|
|
|
shell: powershell.exe
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run:
|
|
|
|
name: "Install evmone"
|
|
|
|
command: scripts/install_evmone.ps1
|
|
|
|
- run:
|
|
|
|
name: "Run soltest"
|
|
|
|
command: .circleci/soltest.ps1
|
2020-10-15 17:11:17 +00:00
|
|
|
- store_test_results: *store_test_results
|
2020-09-16 14:24:11 +00:00
|
|
|
- store_artifacts: *artifacts_test_results
|
|
|
|
|
|
|
|
t_win_release:
|
|
|
|
<<: *t_win
|
2020-07-22 14:22:21 +00:00
|
|
|
|
2020-10-14 16:26:18 +00:00
|
|
|
b_bytecode_ubu:
|
|
|
|
docker:
|
|
|
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run: scripts/bytecodecompare/storebytecode.sh && cp -v report.txt bytecode-report-ubuntu.txt
|
|
|
|
- store_artifacts:
|
|
|
|
path: report.txt
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- bytecode-report-ubuntu.txt
|
|
|
|
|
|
|
|
b_bytecode_osx:
|
|
|
|
macos:
|
|
|
|
xcode: "11.0.0"
|
|
|
|
environment:
|
|
|
|
TERM: xterm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
2020-10-14 21:24:35 +00:00
|
|
|
at: .
|
2020-10-14 16:26:18 +00:00
|
|
|
- run: scripts/bytecodecompare/storebytecode.sh && cp -v report.txt bytecode-report-osx.txt
|
|
|
|
- store_artifacts:
|
|
|
|
path: report.txt
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- bytecode-report-osx.txt
|
|
|
|
|
|
|
|
b_bytecode_win:
|
|
|
|
executor:
|
|
|
|
name: win/default
|
|
|
|
shell: cmd.exe
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: build
|
|
|
|
- run: python scripts\isolate_tests.py test\
|
|
|
|
- run: python scripts\bytecodecompare\prepare_report.py build\solc\Release\solc.exe
|
|
|
|
- run: cp report.txt bytecode-report-windows.txt
|
|
|
|
- store_artifacts:
|
|
|
|
path: report.txt
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- bytecode-report-windows.txt
|
|
|
|
|
|
|
|
b_bytecode_ems:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:10
|
|
|
|
environment:
|
|
|
|
SOLC_EMSCRIPTEN: "On"
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: emscripten_build/libsolc
|
|
|
|
- run: scripts/bytecodecompare/storebytecode.sh && cp -v report.txt bytecode-report-emscripten.txt
|
|
|
|
- store_artifacts:
|
|
|
|
path: report.txt
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- bytecode-report-emscripten.txt
|
|
|
|
|
|
|
|
t_bytecode_compare:
|
|
|
|
docker:
|
|
|
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
- run: diff --report-identical-files --from-file bytecode-report-emscripten.txt bytecode-report-ubuntu.txt bytecode-report-osx.txt bytecode-report-windows.txt
|
|
|
|
|
2018-02-08 15:12:04 +00:00
|
|
|
workflows:
|
|
|
|
version: 2
|
2019-04-26 09:57:49 +00:00
|
|
|
|
|
|
|
main:
|
2018-02-08 15:12:04 +00:00
|
|
|
jobs:
|
2019-04-26 09:57:49 +00:00
|
|
|
# basic checks
|
|
|
|
- chk_spelling: *workflow_trigger_on_tags
|
|
|
|
- chk_coding_style: *workflow_trigger_on_tags
|
2019-09-16 17:06:50 +00:00
|
|
|
# DISABLED FOR 0.6.0 - chk_docs_examples: *workflow_trigger_on_tags
|
2019-04-26 09:57:49 +00:00
|
|
|
- chk_buglist: *workflow_trigger_on_tags
|
|
|
|
- chk_proofs: *workflow_trigger_on_tags
|
2020-01-15 13:19:13 +00:00
|
|
|
- chk_pylint: *workflow_trigger_on_tags
|
2020-05-27 10:13:37 +00:00
|
|
|
- chk_errorcodes: *workflow_trigger_on_tags
|
2020-03-11 12:03:57 +00:00
|
|
|
- chk_antlr_grammar: *workflow_trigger_on_tags
|
2020-04-01 16:16:47 +00:00
|
|
|
- chk_docs_pragma_min_version: *workflow_trigger_on_tags
|
2019-04-26 09:57:49 +00:00
|
|
|
|
|
|
|
# build-only
|
|
|
|
- b_docs: *workflow_trigger_on_tags
|
2019-08-09 09:28:22 +00:00
|
|
|
- b_ubu_cxx20: *workflow_trigger_on_tags
|
2020-02-03 10:55:53 +00:00
|
|
|
- b_ubu_ossfuzz: *workflow_trigger_on_tags
|
2019-04-26 09:57:49 +00:00
|
|
|
|
|
|
|
# OS/X build and tests
|
|
|
|
- b_osx: *workflow_trigger_on_tags
|
|
|
|
- t_osx_cli: *workflow_osx
|
2019-09-20 00:39:25 +00:00
|
|
|
- t_osx_soltest: *workflow_osx
|
2019-04-26 09:57:49 +00:00
|
|
|
|
2020-09-08 08:28:42 +00:00
|
|
|
# ArchLinux build and tests
|
|
|
|
- b_archlinux: *workflow_trigger_on_tags
|
|
|
|
- t_archlinux_soltest: *workflow_archlinux
|
|
|
|
|
2020-09-30 12:49:27 +00:00
|
|
|
# Static build
|
|
|
|
- b_ubu_static: *workflow_trigger_on_tags
|
|
|
|
|
2019-08-14 13:43:24 +00:00
|
|
|
# Ubuntu build and tests
|
2019-04-26 09:57:49 +00:00
|
|
|
- b_ubu: *workflow_trigger_on_tags
|
2019-07-30 07:27:43 +00:00
|
|
|
- b_ubu18: *workflow_trigger_on_tags
|
2020-05-11 14:53:45 +00:00
|
|
|
- t_ubu_cli: *workflow_ubuntu2004
|
|
|
|
- t_ubu_soltest: *workflow_ubuntu2004
|
|
|
|
- t_ubu_soltest_enforce_yul: *workflow_ubuntu2004
|
2019-09-24 12:31:22 +00:00
|
|
|
- b_ubu_clang: *workflow_trigger_on_tags
|
2020-05-11 14:53:45 +00:00
|
|
|
- t_ubu_clang_soltest: *workflow_ubuntu2004_clang
|
2019-04-26 09:57:49 +00:00
|
|
|
|
2019-09-06 14:36:16 +00:00
|
|
|
# Ubuntu fake release build and tests
|
|
|
|
- b_ubu_release: *workflow_trigger_on_tags
|
2020-05-11 14:53:45 +00:00
|
|
|
- t_ubu_release_cli: *workflow_ubuntu2004_release
|
|
|
|
- t_ubu_release_soltest: *workflow_ubuntu2004_release
|
2019-09-06 14:36:16 +00:00
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
# Emscripten build and selected tests
|
|
|
|
- b_ems: *workflow_trigger_on_tags
|
|
|
|
- t_ems_solcjs: *workflow_emscripten
|
2019-11-20 23:00:27 +00:00
|
|
|
- t_ems_compile_ext_colony: *workflow_emscripten
|
|
|
|
- t_ems_compile_ext_gnosis: *workflow_emscripten
|
|
|
|
- t_ems_compile_ext_zeppelin: *workflow_emscripten
|
2019-04-26 09:57:49 +00:00
|
|
|
|
2020-09-15 12:47:30 +00:00
|
|
|
# Windows build and tests
|
|
|
|
- b_win: *workflow_trigger_on_tags
|
2020-07-22 14:22:21 +00:00
|
|
|
- b_win_release: *workflow_trigger_on_tags
|
2020-09-16 14:24:11 +00:00
|
|
|
- t_win: *workflow_win
|
|
|
|
- t_win_release: *workflow_win_release
|
2020-09-15 12:47:30 +00:00
|
|
|
|
2020-10-14 16:26:18 +00:00
|
|
|
# Bytecode comparison:
|
|
|
|
- b_bytecode_ubu:
|
|
|
|
requires:
|
|
|
|
- b_ubu
|
|
|
|
- b_bytecode_win:
|
|
|
|
requires:
|
|
|
|
- b_win
|
|
|
|
- b_bytecode_osx:
|
|
|
|
requires:
|
|
|
|
- b_osx
|
|
|
|
- b_bytecode_ems:
|
|
|
|
requires:
|
|
|
|
- b_ems
|
|
|
|
- t_bytecode_compare:
|
|
|
|
requires:
|
|
|
|
- b_bytecode_ubu
|
|
|
|
- b_bytecode_win
|
|
|
|
- b_bytecode_osx
|
|
|
|
- b_bytecode_ems
|
|
|
|
|
2019-04-26 09:57:49 +00:00
|
|
|
nightly:
|
|
|
|
|
2019-03-27 13:22:09 +00:00
|
|
|
triggers:
|
|
|
|
- schedule:
|
|
|
|
cron: "0 0 * * *"
|
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- develop
|
2019-09-19 00:26:39 +00:00
|
|
|
- develop_060
|
2019-04-26 09:57:49 +00:00
|
|
|
|
2019-03-27 13:22:09 +00:00
|
|
|
jobs:
|
2019-04-26 09:57:49 +00:00
|
|
|
# OSSFUZZ builds and (regression) tests
|
2020-02-03 10:55:53 +00:00
|
|
|
- b_ubu_ossfuzz: *workflow_trigger_on_tags
|
2020-02-20 14:32:28 +00:00
|
|
|
- t_ubu_ossfuzz: *workflow_ubuntu1604_ossfuzz
|
2019-04-26 09:57:49 +00:00
|
|
|
|
|
|
|
# Code Coverage enabled build and tests
|
|
|
|
- b_ubu_codecov: *workflow_trigger_on_tags
|
2020-05-11 14:53:45 +00:00
|
|
|
- t_ubu_codecov: *workflow_ubuntu2004_codecov
|
2020-08-24 18:11:02 +00:00
|
|
|
|
|
|
|
# ASan build and tests
|
|
|
|
- b_ubu_asan: *workflow_trigger_on_tags
|
|
|
|
- b_ubu_asan_clang: *workflow_trigger_on_tags
|
|
|
|
- t_ubu_asan_constantinople: *workflow_ubuntu2004_asan
|
|
|
|
- t_ubu_asan_constantinople_clang: *workflow_ubuntu2004_asan_clang
|
|
|
|
- t_ubu_asan_cli: *workflow_ubuntu2004_asan
|