Skip to content

Commit eccfebf

Browse files
compute projects
1 parent cc4a4dd commit eccfebf

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/premerge.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,14 @@ jobs:
3333
- name: Build and Test
3434
continue-on-error: true
3535
run: |
36-
echo test
36+
modified_files=$(git diff --name-only HEAD~1...HEAD)
37+
modified_dirs=$(echo "$modified_files" | cut -d'/' -f1 | sort -u)
38+
39+
echo $modified_files
40+
echo $modified_dirs
41+
42+
. ./.ci/compute-projects.sh
43+
44+
all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
45+
modified_projects="$(keep-modified-projects ${all_projects})"
3746

0 commit comments

Comments
 (0)