diff --git a/.github/workflows/code_testing.yaml b/.github/workflows/code_testing.yaml index 5a0105e..abc76ce 100644 --- a/.github/workflows/code_testing.yaml +++ b/.github/workflows/code_testing.yaml @@ -68,11 +68,9 @@ jobs: run: | pip3 install "conan==1.62.0" conan profile new --detect default - conan profile update settings.compiler.libcxx=libstdc++11 default - conan profile update env.CXXFLAGS="${CXXFLAGS}" default - conan profile update env.CMAKE_EXE_LINKER_FLAGS="${CMAKE_EXE_LINKER_FLAGS}" default conan profile update env.CXX="${CXX}" default conan profile update env.CC="${CC}" default + conan profile update settings.compiler.libcxx=libstdc++11 default - name: Cache conan data id: cache-conan @@ -82,11 +80,10 @@ jobs: key: tests-${{ matrix.config.os }}-${{ matrix.config.compiler }}-conan - name: Configure CMake - run: cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=On -DBUILD_EXAMPLES=On -DUSE_CONAN=On -G Ninja -B build . + run: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-fsanitize=address,undefined" -DBUILD_TESTING=On -DBUILD_EXAMPLES=On -DUSE_CONAN=On -G Ninja -B build . env: CC: ${{ steps.install_cc.outputs.cc }} CXX: ${{ steps.install_cc.outputs.cxx }} - CXXFLAGS: -fsanitize=undefined,address - name: Build tests and examples working-directory: build