]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: reduce ASAN log redirection umbrella size
authorIlya Shipitsin <chipitsine@gmail.com>
Sun, 14 Apr 2024 07:23:51 +0000 (09:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 Apr 2024 09:14:44 +0000 (11:14 +0200)
previously ASAN_OPTIONS=log_path=asan.log was intended for VTest
execution only, it should not affect "haproxy -vv" and hsproxy
config smoke testing

.github/workflows/vtest.yml

index 9d0bf48b0bf7b8438d4e4cba0e012f62c7b168de..5ee8a7a64fc93f5297a3acaa07023b055aa7c62c 100644 (file)
@@ -42,8 +42,6 @@ jobs:
       # Configure a short TMPDIR to prevent failures due to long unix socket
       # paths.
       TMPDIR: /tmp
-      # Force ASAN output into asan.log to make the output more readable.
-      ASAN_OPTIONS: log_path=asan.log
       OT_CPP_VERSION: 1.6.0
     steps:
     - uses: actions/checkout@v4
@@ -143,6 +141,9 @@ jobs:
       run: echo "::add-matcher::.github/vtest.json"
     - name: Run VTest for HAProxy ${{ steps.show-version.outputs.version }}
       id: vtest
+      env:
+        # Force ASAN output into asan.log to make the output more readable.
+        ASAN_OPTIONS: log_path=asan.log
       run: |
         # This is required for macOS which does not actually allow to increase
         # the '-n' soft limit to the hard limit, thus failing to run.