File tree 1 file changed +49
-0
lines changed 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Clang AST"
2
+
3
+ on :
4
+ push :
5
+ branches : master
6
+ paths :
7
+ - configure
8
+ - ' auto/**'
9
+ - ' src/**'
10
+ - ' test/**'
11
+ - ' .github/workflows/clang-ast.yaml'
12
+ pull_request :
13
+ branches : master
14
+ paths :
15
+ - configure
16
+ - ' auto/**'
17
+ - ' src/**'
18
+ - ' test/**'
19
+ - ' .github/workflows/clang-ast.yaml'
20
+
21
+ jobs :
22
+ clang-ast :
23
+ runs-on : ubuntu-latest
24
+
25
+ container :
26
+ image : debian:testing
27
+
28
+ steps :
29
+ - name : Install tools/deps
30
+ run : |
31
+ apt-get -y update
32
+ apt-get -y install git llvm-dev clang-dev clang make \
33
+ openssl-dev libpcre2-dev
34
+
35
+ - uses : actions/checkout@v4
36
+
37
+ - name : Checkout and build clang-ast
38
+ run : |
39
+ git clone https://github.com/ac000/clang-ast -b unit-stdc++17
40
+ cd clang-ast
41
+ make
42
+
43
+ - name : Configure Unit
44
+ run : ./configure --cc=clang --tests --openssl --debug
45
+
46
+ - name : Build Unit
47
+ run : make -j4 \
48
+ EXTRA_CFLAGS='-Xclang -load -Xclang clang-ast/ngx-ast.so -Xclang -plugin -Xclang ngx-ast' \
49
+ NXT_SHARED_LOCAL_LINK= : build/lib/libnxt.so V=1
You can’t perform that action at this time.
0 commit comments