[llvm] [CI] Make Premerge only Comment if Tests Failed (PR #169102)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 21 13:59:27 PST 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/169102
None
>From c8bbdf45262089384982a18ea0c3620c8fb62b93 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Fri, 21 Nov 2025 21:58:48 +0000
Subject: [PATCH] [CI] Make Premerge only Comment if Tests Failed
---
.ci/monolithic-linux.sh | 43 ---------------------------------------
.ci/monolithic-windows.sh | 13 ------------
2 files changed, 56 deletions(-)
diff --git a/.ci/monolithic-linux.sh b/.ci/monolithic-linux.sh
index e6a59a2ae1306..e92287df90ae6 100755
--- a/.ci/monolithic-linux.sh
+++ b/.ci/monolithic-linux.sh
@@ -63,46 +63,3 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
-D LLVM_ENABLE_WERROR=ON
start-group "ninja"
-
-if [[ -n "${targets}" ]]; then
- # Targets are not escaped as they are passed as separate arguments.
- ninja -C "${BUILD_DIR}" -k 0 ${targets} |& tee ninja.log
- cp ${BUILD_DIR}/.ninja_log ninja.ninja_log
-fi
-
-if [[ -n "${runtime_targets}" ]]; then
- start-group "ninja Runtimes"
-
- ninja -C "${BUILD_DIR}" ${runtime_targets} |& tee ninja_runtimes.log
- cp ${BUILD_DIR}/.ninja_log ninja_runtimes.ninja_log
-fi
-
-# Compiling runtimes with just-built Clang and running their tests
-# as an additional testing for Clang.
-if [[ -n "${runtime_targets_needs_reconfig}" ]]; then
- start-group "CMake Runtimes C++26"
-
- cmake \
- -D LIBCXX_TEST_PARAMS="std=c++26" \
- -D LIBCXXABI_TEST_PARAMS="std=c++26" \
- "${BUILD_DIR}"
-
- start-group "ninja Runtimes C++26"
-
- ninja -C "${BUILD_DIR}" ${runtime_targets_needs_reconfig} \
- |& tee ninja_runtimes_needs_reconfig1.log
- cp ${BUILD_DIR}/.ninja_log ninja_runtimes_needs_reconig.ninja_log
-
- start-group "CMake Runtimes Clang Modules"
-
- cmake \
- -D LIBCXX_TEST_PARAMS="enable_modules=clang" \
- -D LIBCXXABI_TEST_PARAMS="enable_modules=clang" \
- "${BUILD_DIR}"
-
- start-group "ninja Runtimes Clang Modules"
-
- ninja -C "${BUILD_DIR}" ${runtime_targets_needs_reconfig} \
- |& tee ninja_runtimes_needs_reconfig2.log
- cp ${BUILD_DIR}/.ninja_log ninja_runtimes_needs_reconfig2.ninja_log
-fi
diff --git a/.ci/monolithic-windows.sh b/.ci/monolithic-windows.sh
index 36941644c6a6c..c76c93dea9192 100755
--- a/.ci/monolithic-windows.sh
+++ b/.ci/monolithic-windows.sh
@@ -50,16 +50,3 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
-D LLVM_ENABLE_RUNTIMES="${runtimes}"
start-group "ninja"
-
-if [[ -n "${targets}" ]]; then
- # Targets are not escaped as they are passed as separate arguments.
- ninja -C "${BUILD_DIR}" -k 0 ${targets} |& tee ninja.log
- cp ${BUILD_DIR}/.ninja_log ninja.ninja_log
-fi
-
-if [[ -n "${runtimes_targets}" ]]; then
- start-group "ninja runtimes"
-
- ninja -C "${BUILD_DIR}" -k 0 ${runtimes_targets} |& tee ninja_runtimes.log
- cp ${BUILD_DIR}/.ninja_log ninja_runtimes.ninja_log
-fi
More information about the llvm-commits
mailing list