Skip to content

Commit 41d1078

Browse files
authored
[GHA] Use pip and venv to install buildbot for lit tests (#302)
Installing a specific version of buildbot is more robust to future changes vs using whatever is packaged for Ubuntu.
1 parent 0aa5605 commit 41d1078

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/lit-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ jobs:
1515
- name: Install dependencies
1616
run: |
1717
sudo apt-get update
18-
sudo apt-get install -y llvm-18-tools buildbot
18+
sudo apt-get install -y llvm-18-tools
1919
sudo ln -s /usr/lib/llvm-18/build/utils/lit/lit.py /usr/bin/lit
2020
sudo ln -s /usr/bin/FileCheck-18 /usr/bin/FileCheck
21+
python3 -m venv venv
22+
source venv/bin/activate
23+
pip install buildbot==3.11.7
24+
echo "PATH=$PATH" >> "$GITHUB_ENV"
2125
- name: Run lit tests
2226
run: /usr/lib/llvm-18/build/utils/lit/lit.py -v --xfail jenkins/test_build.py test

0 commit comments

Comments
 (0)