Skip to content

Commit

Permalink
[clang] Also run the clang tests as part of the Clang-specific CI pip…
Browse files Browse the repository at this point in the history
…eline

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
  • Loading branch information
ldionne committed Aug 25, 2023
1 parent eb6277e commit 5e60345
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clang/utils/ci/buildkite-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ steps:

- wait

- label: "Building clang"
- label: "Building and testing clang"
commands:
- "clang/utils/ci/run-buildbot build-clang"
agents:
Expand Down
6 changes: 4 additions & 2 deletions clang/utils/ci/run-buildbot
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 5e60345

Please sign in to comment.