diff --git a/.github/workflows/clang-ast.yaml b/.github/workflows/clang-ast.yaml index 406477427..2f53e823d 100644 --- a/.github/workflows/clang-ast.yaml +++ b/.github/workflows/clang-ast.yaml @@ -41,16 +41,11 @@ jobs: make - name: Configure Unit - run: ./configure --cc=clang --openssl --debug --tests + run: ./configure --cc=clang --openssl --debug --tests \ + --cc-opt="-Xclang -load -Xclang clang-ast/ngx-ast.so -Xclang -add-plugin -Xclang ngx-ast" - name: Build Unit - run: | - make -j4 \ - EXTRA_CFLAGS="-Xclang -load -Xclang clang-ast/ngx-ast.so -Xclang -add-plugin -Xclang ngx-ast" \ - NXT_SHARED_LOCAL_LINK=: build/lib/libnxt.so + run: make -j4 NXT_SHARED_LOCAL_LINK=: build/lib/libnxt.so - name: Build C tests - run: | - make -j4 \ - EXTRA_CFLAGS="-Xclang -load -Xclang clang-ast/ngx-ast.so -Xclang -add-plugin -Xclang ngx-ast" \ - tests + run: make -j4 tests