Skip to content

Commit b64b21f

Browse files
committed
workflows/release-tasks: Setup FileCheck and not for release-lit
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 #64892.
1 parent 95ce3c2 commit b64b21f

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
@@ -81,13 +81,24 @@ jobs:
8181
- name: Checkout LLVM
8282
uses: actions/checkout@v4
8383

84+
- name: Setup Cpp
85+
uses: aminya/setup-cpp@v1
86+
with:
87+
compiler: llvm-16.0.6
88+
cmake: true
89+
ninja: true
90+
8491
- name: Install dependencies
85-
run: sudo apt-get install -y python3-setuptools
92+
run: |
93+
sudo apt-get update
94+
sudo apt-get install -y python3-setuptools python3-psutil
8695
8796
- name: Test lit
8897
run: |
89-
cd llvm/utils/lit
90-
python3 lit.py tests
98+
mkdir build && cd build
99+
export FILECHECK_OPTS='-dump-input-filter=all -vv -color'
100+
cmake ../llvm -DCMAKE_BUILD_TYPE=Release -G Ninja
101+
ninja -v -j $(nproc) check-lit
91102
92103
- name: Package lit
93104
run: |

0 commit comments

Comments
 (0)