File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Cling Build and Test
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - ' **'
7
+ workflow_dispatch :
8
+
9
+ jobs :
10
+ build-and-test :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ matrix :
14
+ os : [ubuntu-latest, macos-latest]
15
+ steps :
16
+ - name : Checkout LLVM
17
+ uses : actions/checkout@v4
18
+ with :
19
+ repository : root-project/llvm-project
20
+ path : llvm
21
+ ref : cling-latest
22
+ fetch-depth : 1
23
+
24
+ - name : Checkout Cling
25
+ uses : actions/checkout@v4
26
+ with :
27
+ repository : root-project/cling
28
+ path : cling
29
+ fetch-depth : 1
30
+
31
+ - name : Prepare build directory
32
+ run : |
33
+ mkdir build
34
+
35
+ - name : Configure
36
+ working-directory : build
37
+ run : cmake -DLLVM_EXTERNAL_PROJECTS=cling -DLLVM_EXTERNAL_CLING_SOURCE_DIR=../cling/ -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_TARGETS_TO_BUILD="host;NVPTX" -DCMAKE_BUILD_TYPE=Release ../llvm/llvm/
38
+
39
+ - name : Build
40
+ working-directory : build
41
+ run : cmake --build . --parallel 4 --target cling
42
+
43
+ - name : Test
44
+ working-directory : build
45
+ run : cmake --build . --target check-cling
You can’t perform that action at this time.
0 commit comments