Skip to content

Commit

Permalink
try more random things
Browse files Browse the repository at this point in the history
  • Loading branch information
liss-h committed Mar 18, 2024
1 parent 93d6bad commit 9af1346
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/code_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9af1346

Please sign in to comment.