From 2f23a611717e29ce683b22a10e6b2a8d87dd7216 Mon Sep 17 00:00:00 2001 From: Leon Yang Date: Tue, 28 Oct 2025 08:18:29 -0700 Subject: [PATCH] Add github workflow for asan clang build/test (#178) Summary: as title Differential Revision: D85670907 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5634f869..40a96b5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,13 @@ jobs: cxx: g++ - cc: clang cxx: clang++ + - cc: clang + cxx: clang++ + cxxflags: -fsanitize=address -g env: CC: ${{ matrix.cc }} CXX: ${{ matrix.cxx }} + CXXFLAGS: ${{ matrix.cxxflags }} steps: - run: sudo apt-get update - name: Install dependencies