ldionne created this revision. Herald added a project: All. ldionne requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
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. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D158765 Files: clang/utils/ci/buildkite-pipeline.yml clang/utils/ci/run-buildbot Index: clang/utils/ci/run-buildbot =================================================================== --- clang/utils/ci/run-buildbot +++ clang/utils/ci/run-buildbot @@ -81,17 +81,19 @@ # 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-all ;; generic-cxx03) buildkite-agent artifact download install.tar.xz . Index: clang/utils/ci/buildkite-pipeline.yml =================================================================== --- clang/utils/ci/buildkite-pipeline.yml +++ clang/utils/ci/buildkite-pipeline.yml @@ -31,7 +31,7 @@ - wait - - label: "Building clang" + - label: "Building and testing clang" commands: - "clang/utils/ci/run-buildbot build-clang" agents:
Index: clang/utils/ci/run-buildbot =================================================================== --- clang/utils/ci/run-buildbot +++ clang/utils/ci/run-buildbot @@ -81,17 +81,19 @@ # 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-all ;; generic-cxx03) buildkite-agent artifact download install.tar.xz . Index: clang/utils/ci/buildkite-pipeline.yml =================================================================== --- clang/utils/ci/buildkite-pipeline.yml +++ clang/utils/ci/buildkite-pipeline.yml @@ -31,7 +31,7 @@ - wait - - label: "Building clang" + - label: "Building and testing clang" commands: - "clang/utils/ci/run-buildbot build-clang" agents:
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits