Skip to content

Commit 8ecd16d

Browse files
Reenable
1 parent 264ae7f commit 8ecd16d

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/workflows/premerge.yaml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
fetch-depth: 2
2525
- name: Build and Test
2626
run: |
27+
git config --global --add safe.directory '*'
28+
2729
modified_files=$(git diff --name-only HEAD~1...HEAD)
2830
modified_dirs=$(echo "$modified_files" | cut -d'/' -f1 | sort -u)
2931
@@ -32,20 +34,20 @@ jobs:
3234
3335
. ./.ci/compute-projects.sh
3436
35-
#all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
36-
#modified_projects="$(keep-modified-projects ${all_projects})"
37+
all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
38+
modified_projects="$(keep-modified-projects ${all_projects})"
3739
38-
#linux_projects_to_test=$(exclude-linux $(compute-projects-to-test 0 ${modified_projects}))
39-
#linux_check_targets=$(check-targets ${linux_projects_to_test} | sort | uniq)
40-
#linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq)
40+
linux_projects_to_test=$(exclude-linux $(compute-projects-to-test 0 ${modified_projects}))
41+
linux_check_targets=$(check-targets ${linux_projects_to_test} | sort | uniq)
42+
linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq)
4143
42-
#linux_runtimes_to_test=$(compute-runtimes-to-test ${linux_projects_to_test})
43-
#linux_runtime_check_targets=$(check-targets ${linux_runtimes_to_test} | sort | uniq)
44-
#linux_runtimes=$(echo ${linux_runtimes_to_test} | sort | uniq)
44+
linux_runtimes_to_test=$(compute-runtimes-to-test ${linux_projects_to_test})
45+
linux_runtime_check_targets=$(check-targets ${linux_runtimes_to_test} | sort | uniq)
46+
linux_runtimes=$(echo ${linux_runtimes_to_test} | sort | uniq)
4547
46-
#echo "Building projects: ${linux_projects}"
47-
#echo "Running project checks targets: ${linux_check_targets}"
48-
#echo "Building runtimes: ${linux_runtimes}"
49-
#echo "Running runtimes checks targets: ${linux_runtime_check_targets}"
48+
echo "Building projects: ${linux_projects}"
49+
echo "Running project checks targets: ${linux_check_targets}"
50+
echo "Building runtimes: ${linux_runtimes}"
51+
echo "Running runtimes checks targets: ${linux_runtime_check_targets}"
5052
51-
#./.ci/monolithic-linux.sh "$(echo ${linux_projects} | tr ' ' ';')" "$(echo ${linux_check_targets})" "$(echo ${linux_runtimes} | tr ' ' ';')" "$(echo ${linux_runtime_check_targets})"
53+
./.ci/monolithic-linux.sh "$(echo ${linux_projects} | tr ' ' ';')" "$(echo ${linux_check_targets})" "$(echo ${linux_runtimes} | tr ' ' ';')" "$(echo ${linux_runtime_check_targets})"

0 commit comments

Comments
 (0)