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

Tulio Magno Quites Machado Filho via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 09:40:01 PDT 2023


================
@@ -84,12 +84,21 @@ jobs:
         uses: actions/checkout at v4
 
       - 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 clang cmake
+
+      - name: Build lit requirements
+        run: |
+          mkdir build && cd build
+          cmake ../llvm -DCMAKE_BUILD_TYPE=Release
+          cmake --build utils/FileCheck/ -j $(nproc)
+          cmake --build utils/not/ -j $(nproc)
 
       - name: Test lit
         run: |
           cd llvm/utils/lit
-          python3 lit.py tests
+          PATH=$(pwd)/../../../build/bin:$PATH python3 lit.py tests
----------------
tuliom wrote:

Considering RoboTux's suggestion, I'm closing this as resolved.

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


More information about the llvm-commits mailing list