Skip to content

Commit

Permalink
[GHA] Use pip and venv to install buildbot for lit tests
Browse files Browse the repository at this point in the history
Installing a specific version of buildbot is more robust to future
changes vs using whatever is packaged for Debian.
  • Loading branch information
asb committed Nov 10, 2024
1 parent 0397cb6 commit 38dfd35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/lit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y llvm-18-tools buildbot
sudo apt-get install -y llvm-18-tools
sudo ln -s /usr/lib/llvm-18/build/utils/lit/lit.py /usr/bin/lit
sudo ln -s /usr/bin/FileCheck-18 /usr/bin/FileCheck
python3 -m venv venv
source venv/bin/activate
pip install buildbot==3.11.7
echo "PATH=$PATH" >> "$GITHUB_ENV"
- name: Run lit tests
run: /usr/lib/llvm-18/build/utils/lit/lit.py -v --xfail jenkins/test_build.py test

0 comments on commit 38dfd35

Please sign in to comment.