From b2f981e109b26be833060ef6189c0cb8746eeaf3 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 29 Nov 2021 23:12:33 -0500 Subject: [PATCH] Enable ASAN for yaml tests on Darwin. (#12341) --- .github/workflows/tests.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7770cb5e70c0d0..afd197f554ce4d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -115,12 +115,14 @@ jobs: strategy: matrix: - type: [tsan] + type: [tsan, asan] eventloop: [eventloop_same, eventloop_separate] env: USE_SEPARATE_EVENTLOOP: ${{ matrix.eventloop == 'eventloop_separate' }} USE_TSAN: ${{ matrix.type == 'tsan' }} + USE_ASAN: ${{ matrix.type == 'asan' }} + if: github.actor != 'restyled-io[bot]' runs-on: macos-latest @@ -159,11 +161,11 @@ jobs: - name: Run Build Test Server timeout-minutes: 10 run: | - scripts/examples/gn_build_example.sh examples/all-clusters-app/linux out/debug/standalone/ chip_config_network_layer_ble=false is_tsan=${USE_TSAN} + scripts/examples/gn_build_example.sh examples/all-clusters-app/linux out/debug/standalone/ chip_config_network_layer_ble=false is_tsan=${USE_TSAN} is_asan=${USE_ASAN} - name: Build chip-tool timeout-minutes: 10 run: | - scripts/examples/gn_build_example.sh examples/chip-tool out/debug/standalone/ is_tsan=${USE_TSAN} config_use_separate_eventloop=${USE_SEPARATE_EVENTLOOP} + scripts/examples/gn_build_example.sh examples/chip-tool out/debug/standalone/ is_tsan=${USE_TSAN} is_asan=${USE_ASAN} config_use_separate_eventloop=${USE_SEPARATE_EVENTLOOP} - name: Copy objdir run: | # The idea is to not upload our objdir unless builds have