Skip to content

Commit b7eba05

Browse files
tuliomtru
authored andcommitted
workflows/release-tasks: Setup FileCheck and not for release-lit (llvm#66799)
lit tests require commands FileCheck and not. They must be available in the PATH. This also guarantees that python3-psutil is installed in order to enable more tests. Fixes llvm#64892. (cherry picked from commit b2247f8)
1 parent 9678f11 commit b7eba05

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/release-tasks.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,24 @@ jobs:
8383
- name: Checkout LLVM
8484
uses: actions/checkout@v3
8585

86+
- name: Setup Cpp
87+
uses: aminya/setup-cpp@v1
88+
with:
89+
compiler: llvm-16.0.6
90+
cmake: true
91+
ninja: true
92+
8693
- name: Install dependencies
87-
run: sudo apt-get install -y python3-setuptools
94+
run: |
95+
sudo apt-get update
96+
sudo apt-get install -y python3-setuptools python3-psutil
8897
8998
- name: Test lit
9099
run: |
91-
cd llvm/utils/lit
92-
python3 lit.py tests
100+
mkdir build && cd build
101+
export FILECHECK_OPTS='-dump-input-filter=all -vv -color'
102+
cmake ../llvm -DCMAKE_BUILD_TYPE=Release -G Ninja
103+
ninja -v -j $(nproc) check-lit
93104
94105
- name: Package lit
95106
run: |

0 commit comments

Comments
 (0)