Skip to content

Commit cb5cf35

Browse files
incremental testing
1 parent 41efe71 commit cb5cf35

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/premerge.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,16 @@ jobs:
2424
modified_dirs=$(echo "$modified_files" | cut -d'/' -f1 | sort -u)
2525
echo "$modified_dirs"
2626
27+
. ./.ci/compute-projects.sh
28+
29+
all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
30+
modified_projects="$(keep-modified-projects ${all_projects})"
31+
32+
linux_projects_to_test=$(exclude-linux $(compute-projects-to-test 0 ${modified_projects}))
33+
linux_check_targets=$(check-targets ${linux_projects_to_test} | sort | uniq)
34+
linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq)
35+
36+
linux_runtimes_to_test=$(compute-runtimes-to-test ${linux_projects_to_test})
37+
linux_runtime_check_targets=$(check-targets ${linux_runtimes_to_test} | sort | uniq)
38+
linux_runtimes=$(echo ${linux_runtimes_to_test} | sort | uniq)
39+

0 commit comments

Comments
 (0)