From f46a9d174bb7e38bf1be2b09d1aa53ab3071ed6e Mon Sep 17 00:00:00 2001 From: Tamas Vami Date: Tue, 24 Sep 2024 21:29:04 -0700 Subject: [PATCH] Have ASAN/UBSAN stderr in an artifact file --- .github/workflows/asan_ubsan_build.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/asan_ubsan_build.yml b/.github/workflows/asan_ubsan_build.yml index 9a679e8ed..f34434fe7 100644 --- a/.github/workflows/asan_ubsan_build.yml +++ b/.github/workflows/asan_ubsan_build.yml @@ -1,5 +1,5 @@ -name: Build with ASAN/UBSAN +name: Build with ASAN and UBSAN on: workflow_dispatch: @@ -35,8 +35,13 @@ jobs: run: | just setenv LDMX_NUM_EVENTS=1500 just setenv LDMX_RUN_NUMBER=1 - export LDMX_NUM_EVENTS=1500 + export LDMX_NUM_EVENTS=15 export LDMX_RUN_NUMBER=1 - just fire ${GITHUB_WORKSPACE}/.github/validation_samples/ecal_pn/config.py + just fire ${GITHUB_WORKSPACE}/.github/validation_samples/ecal_pn/config.py 2> output.log shell: bash + - name: Upload output artifact + uses: actions/upload-artifact@v3 + with: + name: ASAN_UBSAN-output + path: output.log