From e6634162619712f538939f023fda57ccc5d4c955 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Sat, 26 Oct 2024 04:06:13 +0100 Subject: [PATCH] ci: xxx Signed-off-by: Andrew Clayton --- .github/workflows/clang-ast.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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