details: https://github.com/nginx/njs/commit/6ed6c100db944dc9d820897f8f0c582c245b2b48 branches: master commit: 6ed6c100db944dc9d820897f8f0c582c245b2b48 user: Dmitry Volyntsev <xei...@nginx.com> date: Mon, 14 Oct 2024 23:12:16 -0700 description: CI: aligned asan build with with post-commit CI asan build.
--- .github/workflows/check-pr.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 6440e8ce..0c7d7f3e 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -110,10 +110,10 @@ jobs: leak:ngx_event_process_init EOF - - name: Configure and build nginx and njs modules with quickjs, static modules + - name: Configure and build nginx and njs modules with quickjs, asan, static modules run: | cd nginx-source - $NGINX_CONFIGURE_CMD --with-cc-opt="$CC_OPT -I${{ github.workspace }}/quickjs -fsanitize=address" --with-ld-opt="$LD_OPT -L${{ github.workspace }}/quickjs -fsanitize=address" --add-module=../nginx || cat objs/autoconf.err + $NGINX_CONFIGURE_CMD --with-cc-opt="$CC_OPT -I${{ github.workspace }}/quickjs -fsanitize=address -DNJS_DEBUG_MEMORY -DNGX_DEBUG_PALLOC -DNGX_DEBUG_MALLOC" --with-ld-opt="$LD_OPT -L${{ github.workspace }}/quickjs -fsanitize=address" --add-module=../nginx || cat objs/autoconf.err $MAKE_UTILITY -j$(nproc) - name: Test njs modules, static modules @@ -138,10 +138,10 @@ jobs: ASAN_OPTIONS: "detect_odr_violation=0:report_globals=0" LSAN_OPTIONS: "suppressions=${{ github.workspace }}/lsan_suppressions.txt" - - name: Configure and build nginx and njs modules with quickjs, dynamic modules + - name: Configure and build nginx and njs modules with quickjs, asan, dynamic modules run: | cd nginx-source - $NGINX_CONFIGURE_CMD --with-debug --with-cc-opt="$CC_OPT -I${{ github.workspace }}/quickjs -fsanitize=address" --with-ld-opt="$LD_OPT -L${{ github.workspace }}/quickjs -fsanitize=address" --add-dynamic-module=../nginx || cat objs/autoconf.err + $NGINX_CONFIGURE_CMD --with-debug --with-cc-opt="$CC_OPT -I${{ github.workspace }}/quickjs -fsanitize=address -DNJS_DEBUG_MEMORY -DNGX_DEBUG_PALLOC -DNGX_DEBUG_MALLOC" --with-ld-opt="$LD_OPT -L${{ github.workspace }}/quickjs -fsanitize=address" --add-dynamic-module=../nginx || cat objs/autoconf.err $MAKE_UTILITY -j$(nproc) modules $MAKE_UTILITY -j$(nproc) _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel