From 0a894b3a6abb38bce6709b7872c9fd5c22ab19a4 Mon Sep 17 00:00:00 2001 From: Markus Pfeiffer Date: Wed, 23 Mar 2022 23:37:52 +0000 Subject: [PATCH] The usual dance --- .github/workflows/cmake.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 91abac1d..da76571c 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -27,6 +27,10 @@ jobs: - {os: ubuntu-latest, compiler: gcc, version: '10', build_type: Debug, hash_type: xxhash, flags: '-O0 -fno-inline --coverage', coverage: true} + - {os: ubuntu-latest, compiler: gcc, version: '10', + build_type: Debug, hash_type: xxhash, + flags: '-fsanitize=address -fno-omit-frame-pointer', + ld_flags: '-fsanitize=address -fno-omit-frame-pointer'} # Clang builds - {os: ubuntu-latest, compiler: clang, version: '10', @@ -72,7 +76,7 @@ jobs: - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DHashType=${{ matrix.hash_type }} -DBuildTests=ON -DBuildLargeTests=OFF -DBuildVelocyPackExamples=ON -DBuildTools=ON -DEnableSSE=OFF -DCMAKE_CXX_STANDARD=${{env.CXX_STANDARD}} + run: cmake -B${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DHashType=${{ matrix.hash_type }} -DBuildTests=ON -DBuildLargeTests=OFF -DBuildVelocyPackExamples=ON -DBuildTools=ON -DEnableSSE=OFF -DCMAKE_CXX_STANDARD=${{env.CXX_STANDARD}} -DCMAKE_CXX_FLAGS="${{ matrix.flags }}" -DCMAKE_LINKER_FLAGS="${{ matrix.ld_flags }}" - name: Build # Build your program with the given configuration