[PATCH] D158765: [clang] Also run the clang tests as part of the Clang-specific CI pipeline

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 25 04:53:17 PDT 2023


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5e603450bb33: [clang] Also run the clang tests as part of the Clang-specific CI pipeline (authored by ldionne).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158765/new/

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-clang
 ;;
 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:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158765.553441.patch
Type: text/x-patch
Size: 1693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230825/757fcbb6/attachment.bin>


More information about the cfe-commits mailing list