Author: Louis Dionne Date: 2023-08-25T07:52:40-04:00 New Revision: 5e603450bb33e99aada164fc9f647c6bec21e092
URL: https://github.com/llvm/llvm-project/commit/5e603450bb33e99aada164fc9f647c6bec21e092 DIFF: https://github.com/llvm/llvm-project/commit/5e603450bb33e99aada164fc9f647c6bec21e092.diff LOG: [clang] Also run the clang tests as part of the Clang-specific CI pipeline We used to rely on the monorepo-wide premerge checks for running Clang tests, but I think it makes more sense to run the Clang tests explicitly in its CI pipeline since we want to move away from monorepo-wide checks. Differential Revision: https://reviews.llvm.org/D158765 Added: Modified: clang/utils/ci/buildkite-pipeline.yml clang/utils/ci/run-buildbot Removed: ################################################################################ diff --git a/clang/utils/ci/buildkite-pipeline.yml b/clang/utils/ci/buildkite-pipeline.yml index a4b72d72c76dfb..621817c3ce52f5 100644 --- a/clang/utils/ci/buildkite-pipeline.yml +++ b/clang/utils/ci/buildkite-pipeline.yml @@ -31,7 +31,7 @@ steps: - wait - - label: "Building clang" + - label: "Building and testing clang" commands: - "clang/utils/ci/run-buildbot build-clang" agents: diff --git a/clang/utils/ci/run-buildbot b/clang/utils/ci/run-buildbot index 91246f1d429736..9314f8fe5bc76e 100755 --- a/clang/utils/ci/run-buildbot +++ b/clang/utils/ci/run-buildbot @@ -81,17 +81,19 @@ build-clang) # network I/O. cmake \ -S llvm \ - -B build \ + -B ${BUILD_DIR} \ -G Ninja \ -DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=install \ -DLLVM_ENABLE_PROJECTS="clang;compiler-rt" \ - ninja -C build install-clang install-clang-resource-headers + ninja -C ${BUILD_DIR} install-clang install-clang-resource-headers ccache -s tar -cJvf install.tar.xz install/ buildkite-agent artifact upload --debug install.tar.xz + + ninja -C ${BUILD_DIR} check-clang ;; generic-cxx03) buildkite-agent artifact download install.tar.xz . _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits