File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : lldb Tests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' release/**'
7
+ paths :
8
+ - ' clang/**'
9
+ - ' llvm/**'
10
+ - ' lldb/**'
11
+ - ' .github/workflows/lldb-tests.yml'
12
+ pull_request :
13
+ paths :
14
+ - ' clang/**'
15
+ - ' llvm/**'
16
+ - ' lldb/**'
17
+ - ' .github/workflows/lldb-tests.yml'
18
+
19
+ jobs :
20
+ build_lldb :
21
+ name : lldb build
22
+ runs-on : ${{ matrix.os }}
23
+ strategy :
24
+ fail-fast : false
25
+ matrix :
26
+ os :
27
+ - ubuntu-latest
28
+ - windows-latest
29
+ - macOS-latest
30
+ steps :
31
+ - name : Setup Windows
32
+ if : startsWith(matrix.os, 'windows')
33
+ uses : llvm/actions/setup-windows@master
34
+ with :
35
+ arch : amd64
36
+ - name : Install Ninja
37
+ uses : llvm/actions/install-ninja@master
38
+ - uses : actions/checkout@v1
39
+ with :
40
+ fetch-depth : 1
41
+ - name : Build lldb
42
+ uses : llvm/actions/build-test-llvm-project@master
43
+ with :
44
+ # Mac OS requries that libcxx is enabled for lldb tests, so we need to disable them.
45
+ cmake_args : -G Ninja -DLLVM_ENABLE_PROJECTS="clang;lldb" -DCMAKE_BUILD_TYPE=Release -DLLDB_INCLUDE_TESTS=OFF
46
+ # check-lldb is not consistent, so we only build lldb.
47
+ build_target : " "
You can’t perform that action at this time.
0 commit comments