-
Notifications
You must be signed in to change notification settings - Fork 99
37 lines (34 loc) · 1.08 KB
/
litmus-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: llvm-zorg testing
on: [push, pull_request]
permissions:
contents: read
jobs:
check_zorg:
name: llvm-zorg litmus tests
if: github.repository_owner == 'llvm'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
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{,-worker}==3.11.7 urllib3
echo "PATH=$PATH" >> "$GITHUB_ENV"
- name: Run lit tests
run: lit -v --xfail jenkins/test_build.py test
- name: Run buildbot checkconfig
run: |
cd buildbot/osuosl/master
BUILDBOT_TEST=1 buildbot checkconfig
python_syntax_errors:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
with: # Ignore all ruff rules except Python Syntax Errors
args: "check --ignore=ALL"