1
0
Fork 0
llvm-premerge-checks/scripts
Mikhail Goncharov c350101a23 Allow projects to define custom steps
Now it's possible to allow sub-projects to define own checks and skip
"generic" ones.

To properly accomodate affected projects that might not have special
treatment we:

1. extend the set of affected projecs with dependent (e.g. add 'libc' if
'clang' was modified)

2. add custom steps for projects that define own workflow. At the moment
it's only libcxx and it has a custom trigger pipeline so it's noop.

3. add dependent projects and run generic check on them.

To illustrate: imagine that we have a dependency graph:

llvm -> clang -> openmp

and only clang was modified in a diff; also clang defines own checks.
Thus list of affected projects will be [clang, openmp].
After adding custom checks and removing their projecst: [openmp].
After adding dependencies: [llvm, clang, openmp]. Generic linux /
windows checks will be run on thouse 3 projects.
So as you can see in some scenarios projects with custom checks will
still go through generic checks.

Note that clang-format and clang-tidy checks are run only for "generic"
checks at the moment.
2020-10-02 16:19:57 +02:00
..
metrics Allow projects to define custom steps 2020-10-02 16:19:57 +02:00
phab2github added documentation, fixed constructor 2020-03-13 16:58:12 +01:00
phabtalk Organize scripts 2020-10-02 14:18:22 +02:00
.gitignore first draft of benchmark script 2020-03-25 09:07:28 +01:00
__init__.py Add windows build 2020-06-03 13:40:22 +02:00
add_phabricator_artifact.py Organize scripts 2020-10-02 14:18:22 +02:00
apply_patch.sh Organize scripts 2020-10-02 14:18:22 +02:00
benchmark.py write results on failures 2020-04-02 09:44:13 +02:00
buildkite_utils.py Organize scripts 2020-10-02 14:18:22 +02:00
choose_projects.py Allow projects to define custom steps 2020-10-02 16:19:57 +02:00
clang-format.ignore ignore **/test for clang-format 2020-07-22 18:59:47 +02:00
clang-tidy-comments.ignore remove jenkins configs and scrips 2020-09-01 09:51:49 +02:00
clang-tidy.ignore add some platform-specific asan files to clang-tidy.ignore list 2020-09-13 12:11:55 +02:00
clang_format_report.py Add clang-tidy and clang-format command to "reproduce locally" 2020-07-23 09:50:06 +02:00
clang_tidy_report.py Organize scripts 2020-10-02 14:18:22 +02:00
cleanup_branches.py error handling 2020-06-29 11:41:48 +02:00
common.ps1 fixed more windows weirdness 2019-12-16 10:09:47 +00:00
exec_utils.py return exit status of ninja command 2020-07-10 19:35:29 +02:00
ignore_diff.py building with buildkite 2020-05-25 16:42:40 +02:00
llvm-dependencies.yaml added missing dependencies to libc 2020-05-20 06:10:28 +02:00
pipeline_create_branch.py Allow projects to define custom steps 2020-10-02 16:19:57 +02:00
pipeline_master.py Allow projects to define custom steps 2020-10-02 16:19:57 +02:00
pipeline_premerge.py Allow projects to define custom steps 2020-10-02 16:19:57 +02:00
premerge_checks.py Organize scripts 2020-10-02 14:18:22 +02:00
requirements.txt upgrade gitpython to 3.0.6 2020-02-24 15:04:46 +00:00
run_cmake.py rename CCACHE_PATH to CCACHE_DIR 2020-08-26 14:22:37 +02:00
run_cmake_config.yaml rename CCACHE_PATH to CCACHE_DIR 2020-08-26 14:22:37 +02:00
run_ninja.py building with buildkite 2020-05-25 16:42:40 +02:00
set_build_status.py Organize scripts 2020-10-02 14:18:22 +02:00
steps.py Allow projects to define custom steps 2020-10-02 16:19:57 +02:00
summary.py Organize scripts 2020-10-02 14:18:22 +02:00
test_results_report.py Add link to ninja log instead of XML #216 2020-07-22 15:45:53 +02:00
windows_agent_bootstrap.ps1 ipython notebook to analyze build speed per agent 2020-07-16 18:04:09 +02:00
windows_agent_start_buildkite.ps1 Show stats on linux / windows 2020-07-08 14:32:59 +02:00