diff --git a/.github/workflows/clang-ast.yaml b/.github/workflows/clang-ast.yaml index 406477427..cddb3f80a 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 --cc-opt="-Xclang -load -Xclang clang-ast/ngx-ast.so -Xclang -add-plugin -Xclang ngx-ast" --openssl --debug --tests - 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 + 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