diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72eb983..2c44566 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,13 +10,14 @@ jobs: matrix: os: [ubuntu-latest] compiler: [g++, clang++] + sanitize: ["", "-fsanitize=address", "-fsanitize=undefined"] steps: - uses: actions/checkout@v1 - name: configure run: | mkdir build && cd build - CXX=`which ${{ matrix.compiler }}` cmake .. + CXX=`which ${{ matrix.compiler }}` cmake .. -DCMAKE_CXX_FLAGS="${{ matrix.sanitize }}" - name: build run: cmake --build build --parallel 2 - name: test