From: Dmitry Volyntsev Date: Tue, 15 Oct 2024 06:12:16 +0000 (-0700) Subject: CI: aligned asan build with with post-commit CI asan build. X-Git-Tag: 0.8.7~6 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=6ed6c100db944dc9d820897f8f0c582c245b2b48;p=njs.git CI: aligned asan build with with post-commit CI asan build. --- 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)