Skip to content

Commit

Permalink
workflows/release-tasks: Setup FileCheck and not for release-lit (#66799
Browse files Browse the repository at this point in the history
)

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.

(cherry picked from commit b2247f8)
  • Loading branch information
tuliom authored and tru committed Sep 27, 2023
1 parent 9678f11 commit b7eba05
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/release-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,24 @@ jobs:
- name: Checkout LLVM
uses: actions/checkout@v3

- name: Setup Cpp
uses: aminya/setup-cpp@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
export FILECHECK_OPTS='-dump-input-filter=all -vv -color'
cmake ../llvm -DCMAKE_BUILD_TYPE=Release -G Ninja
ninja -v -j $(nproc) check-lit
- name: Package lit
run: |
Expand Down

0 comments on commit b7eba05

Please sign in to comment.