[libcxx-commits] [libcxx] 374d789 - [runtimes] Fix how we trigger CI
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 13 11:45:42 PDT 2022
Author: Louis Dionne
Date: 2022-05-13T14:45:35-04:00
New Revision: 374d78999722a200ab0f05981f57daa7c8277e32
URL: https://github.com/llvm/llvm-project/commit/374d78999722a200ab0f05981f57daa7c8277e32
DIFF: https://github.com/llvm/llvm-project/commit/374d78999722a200ab0f05981f57daa7c8277e32.diff
LOG: [runtimes] Fix how we trigger CI
For example, we used to trigger CI even for commits that touched a file
whose path contained 'cmake', even if it's not the root cmake directory.
Fix that.
Added:
Modified:
libcxx/utils/ci/buildkite-pipeline-premerge.sh
Removed:
################################################################################
diff --git a/libcxx/utils/ci/buildkite-pipeline-premerge.sh b/libcxx/utils/ci/buildkite-pipeline-premerge.sh
index 32aa356622ca..3f1d44c7430b 100755
--- a/libcxx/utils/ci/buildkite-pipeline-premerge.sh
+++ b/libcxx/utils/ci/buildkite-pipeline-premerge.sh
@@ -17,7 +17,7 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
-if ! git
diff --name-only HEAD~1 | grep -q -E "libcxx/|libcxxabi/|libunwind/|runtimes/|cmake/"; then
+if ! git
diff --name-only HEAD~1 | grep -q -E "^libcxx/|^libcxxabi/|^libunwind/|^runtimes/|^cmake/"; then
# libcxx/, libcxxabi/, libunwind/, runtimes/ or cmake/ are not affected
exit 0
fi
More information about the libcxx-commits
mailing list