[llvm] workflows/release-tasks: Setup FileCheck and not for release-lit (PR #66799)

Joel E. Denny via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 10:13:43 PDT 2023


================
@@ -83,13 +83,23 @@ jobs:
       - name: Checkout LLVM
         uses: actions/checkout at v4
 
+      - name: Setup Cpp
+        uses: aminya/setup-cpp at v1
+        with:
+          compiler: llvm-16.0.6
+          cmake: true
+          ninja: true
+
       - name: Install dependencies
-        run: sudo apt-get install -y python3-setuptools
+        run: |
+          sudo apt-get update
+          sudo apt-get install -y python3-setuptools python3-psutil
 
       - name: Test lit
         run: |
-          cd llvm/utils/lit
-          python3 lit.py tests
+          mkdir build && cd build
+          cmake ../llvm -DCMAKE_BUILD_TYPE=Release -G Ninja
+          ninja -v -j $(nproc) check-lit
----------------
jdenny-ornl wrote:

On second thought, I realize I don't know that I understand the context.  If this is run manually and can easily be re-run with different environment variables, then the person running it should decide whether to make this change.  Otherwise, defaulting to verbosity would be helpful for whoever has to understand test failures.

https://github.com/llvm/llvm-project/pull/66799


More information about the llvm-commits mailing list